This section will explain how to halt the server locally or remotely with a ZIP installation as username and password combinations required for each can be different. .
Starting and haulting the server locally
When starting or haulting the Application Server locally, the jboss_init_redhat.sh file should be used via the command line and it will ask for a username and password for a user with an account on the operating system.
Though jboss_init_redhat.sh is used to start and stop the server locally for a ZIP installation; this file along with jboss_init_hpux.sh and jboss_init_suse.sh are provided as-is with not support.
Haulting the server remotely
When haulting the Application Server remotely, the shutdown.sh file should be used via the command line and it will ask for a username and password for a user with an account on the Application Server. The reason why a user on the server is required is because the shutdown.sh file is linked to the JMX Console.
For the shutdown.sh file to work correctly though, the jmx-console-users.properties file must have a username and password combination present within it for the shutdown.sh file to read.