You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The shutdown command stops the Apache Geronimo server. This command has the following syntax:

<geronimo_home>/bin/shutdown [options]

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:

java -Djava.endorsed.dirs=lib/endorsed -jar bin/shutdown.jar <options>

  • No labels