-
Bug
-
Resolution: Duplicate
-
Minor
-
EAP_EWP 5.1.1 ER1
-
None
-
See
JBPAPP-3035 -
NEW
The help text for shutdown.sh is as follows:
[rachmatowicz@dev91 bin]$ ./shutdown.sh
A JMX client to shutdown (exit or halt) a remote JBoss server.
usage: shutdown [options] <operation>
options:
-h, --help Show this help message (default)
-D<name>[=<value>] Set a system property
– Stop processing options
-s, --server=<url> Specify the JNDI URL of the remote server
-n, --serverName=<url> Specify the JMX name of the ServerImpl
-a, --adapter=<name> Specify JNDI name of the MBeanServerConnection to use
-u, --user=<name> Specify the username for authentication
-p, --password=<name> Specify the password for authentication
operations:
-S, --shutdown Shutdown the server
-e, --exit=<code> Force the VM to exit with a status code
-H, --halt=<code> Force the VM to halt with a status code
However, the operations -e and -H were removed in an earlier release (EAP 5.0.0) and do not work (see the linked JIRA issue).
We should either reinstate the operations or adjust the help text and Shutdown.java to not accept these operations.
And update the docs.
- duplicates
-
JBPAPP-3035 org.jboss.Shutdown does not process -e and -H arguments correctly
- Closed
- is related to
-
JBPAPP-3035 org.jboss.Shutdown does not process -e and -H arguments correctly
- Closed