|Home > Documentation > Reference > Tools and commands > shutdown|
The shutdown script stops the Apache Geronimo server. This command has the following syntax:
The available options are:
Specifies the user name with the authority to stop the server. By default you would normally use system as the user name.
Specifies the password for the user name you just entered. By default you would normally use manager as the password.
Specifies the RMI naming port to connect to the server (for example JMX connection port). By default port 1099 is used.
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.
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.