This article is an attempt to cover as many administrative tasks as possible, both common and not so common tasks. This article is grouped in four main sections having a similar flow to what you would find while using the Geronimo Administration Console, this way should be easier for you to familiarize on both tasks and console. Note that not only the Administration Console will be used as reference in this article but also some command line options will be covered. Command line options are covered in detail in the Tools and Commands section.
This article is organized in the following sections:
- #Administering the Apache Geronimo Server
- #Configuring Services
- #Administering applications
- #Administering security
Administering the Apache Geronimo Server
There are eight major tasks grouped in this section.
- #Starting and stopping the server
- #Monitor Server status
- #Display JVM information
- #Configure log level
- #Performance monitoring
- #Adding new listeners for the Web containers
- #Configuring the JMS server
- #Configuring a remote Apache HTTP server
Starting and stopping the server
There are two command line ways to start the server. From a command line window or terminal change directory to <geronimo_home>/bin. From there you can either type:
java -jar server.jar
or simply
startup
Refer to the Startup and Geronimo sections for all the options for this command.
To stop the server you will have to open a new command line window or terminal, change directory to <geronimo_home>/bin and run the shutdown
command. You will be prompted for username and password. Refer to the Shutdown and Geronimo sections for the available options for this command.
If the server is already running you have the option of using the Geronimo Administration Console to shutdown the server remotely. With the server up and running open a Web browser and point to the following URL to access the console:
Log in to the Geronimo Administration Console and click on
Shutdown on the Console Navigation menul on the left.
When you click on the Shutdown button in the Server Manager portlet, you will be prompted one more time to confirm the server shutdown. Click OK to confirm and shutdown the server. No need to mention that the connection from the Administration Console will be lost and you will need to restart the server from a terminal or command line window.