The shutdown command stops the Apache Geronimo server. This command has the following syntax:
Wiki Markup |
---|
{{*<geronimo<GERONIMO_home>HOME>/bin/shutdown \[*{*}{_}options{_}{*}*\]*}} |
The available options are:
unmigrated-wiki-markup
*\--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.
Wiki Markup |
---|
*\--password \[*{*}{_}password{_}{*}*\]*
Specifies the password for the user name you just entered. By default you would normally use *manager* as the password. |
Wiki Markup |
---|
*\--port \[*{*}{_}port_number{_}{*}*\]*
Specifies the RMI naming port to connect to the server (for example JMX connection port). By default port *1099* is used. |
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. *\--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._ Wiki Markup
--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.
...
The shutdown command can also be started by using the java -jar
command:
Wiki Markup |
---|
{{{*}java \-Djava.endorsed.dirs=lib/endorsed \-jar bin/shutdown.jar |
\[options]*}} |