Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Although the tools name is self-explanatory, it may not be the same case with the tool's parameters. The following sections explain more in detail these tools and commands usage.

shutdown

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

Wiki Markup
{{*<geronimo_home>/bin/shutdown \[*{*}{_}options{_}{*}*\]*}}

The available options are:

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.

Wiki Markup
*\--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>

deploy

The deploy command is used for installing, uninstalling, reinstalling, starting and stopping applications and modules and for installing and uninstalling configurations (for example some configuration specific deployment plans, security realms, database connection pools etc.)

...