INLINE
The shutdown script stops the Apache Geronimo server
. This command has the following syntax:The available options are:
--user <user_name>
Specifies the user name with the authority to stop the server. By default you would normally use system as the user name.
--password <password>
Specifies the password for the user name you just entered. By default you would normally use manager as the password.
--port <port_number>
Specifies the RMI naming port to connect to the server (for example JMX connection port). By default port 1099 is used.
--host <host_name>
Specifies the host name of the server you are trying to stop. By default localhost is used. This parameter is only available in Geronimo 2.1.3 and greater.
--secure
Use secure channel to communicate with JMX server, see #Security for details. This parameter is only available in Geronimo 2.1.3 and greater.
If you do not specify any parameters, this command will prompt you for a user name and password and will connect to port 1099 on localhost.
The shutdown command can also be started by using the java -jar command:
You don't have to specify or re-enter the user name and password if you have the credential saved by the login option of the deploy command.