Documentation : Tools and commands
This page last changed on Dec 14, 2005 by hcunico@gmail.com.
Apache Geronimo provides several tools for administering the server. These tools are available via command line and some via a Web based console. The Web based Geronimo console is explained in detail in the following section Geronimo Administration Console. The currently available command line tools are located in the <geronimo_home>/bin directory and are enumerated in the following list: 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. startupThis command is certainly used to start the Apache Geronimo server. You can start the Apache Geronimo server in two different ways by running the following commands: <geronimo_home>/bin/java -jar server.jar or simply <geronimo_home>/bin/startup The startup command invokes the server.jar. In both cases this command accepts the same parameters. The available parameters are: --quiet --long -v --verbose -vv --veryverbose -override [configId] When you run this command from a Microsoft Windows command line that window will get locked with the startup results screen. On a Linux based operating system you can run this command in background getting back the control for this window terminal. If you run the startup command without any parameters you will see a screen similar to this one.
shutdownIf the startup command starts the Apache Geronimo server, shutdown will definitively stop it. This command has the following syntax: <geronimo_home>/bin/shutdown [options] The available options are: --user [user_name] --password [password] --port [port_number] If you do not specify any parameters, this command will prompt you for a user name and password and will assume port 1099 by default and will not prompt for any port. geronimoThe geronimo command lets you perform the previous two actions, that is start and stop the server in different modes depending on the parameters you specify. This command has the following syntax: <geronimo_home>/bin/geronimo [options] The available options are: debug jpda start run start stop Both start and stop options for this command will have the same set of parameters as the startup and shutdown commands. deployThe deployer tool is used for installing, uninstalling, starting and stopping applications and modules and for installing and uninstalling configurations (for example some configuration specific deployment plans, security realms, etc.). Due to the number of options in this case, the deployment tool is covered in detail in the Deployment section - Deployer tool.
As with the startup command, the deployment tool can also be invoked in two different ways: java -jar deployer.jar [general_options] <command> [command_options] or simply deploy [general_options] <command> [command_options] Please refer to Deployer tool for a fully detailed description of this tool options and usage. client.jarThe client.jar launches the client application container. This command has the following syntax: java -jar client.jar config-name [app arg] [app arg] ... The first argument identifies the Geronimo configuration that contains the application client you want to run. The rest of the arguments will be passed as arguments to the client application when it is started. |
![]() |
Document generated by Confluence on Dec 15, 2005 19:14 |