Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-6307

org.jboss.Shutdown does not process -e and -H arguments correctly

XMLWordPrintable

    • 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.

            Unassigned Unassigned
            rachmato@redhat.com Richard Achmatowicz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: