...
This article is organized in the following sections:
- #Installation
- #Start the server
- #Stop the server
- #Configuring log level
- #Changing default ports
- #Installing applications
- #Uninstalling applications
- #Updating applications
- #Starting and stopping applications
- #Additional resources
Installation
Currently, the only way to access this Geronimo configuration is by building it directly from the source, in this particular case from the Trunk. This section will show you how to download it using SVN and build it with Maven.
...
- Apache Maven
Maven 1.1-beta-2 will be used to build Geronimo and the sample application. Refer to the following URL for details on how to download and install Maven: http://maven.apache.org
- SubVersion
SubVersion is used to retrieve the most updated version of the Geronimo source code. Refer to the following URL for details on how to download and install SubVersion: http://subversion.tigris.org
- J2SE 1.4.2
Geronimo is currently using the Sun ORB for RMI so it is required to use SUN JDK. Using a different JDK or different version of the JDK may result in compilation errors. Refer to the following URL for details on how to download and install J2SE 1.4.2: http://java.sun.com
Download the source code
...
To download Geronimo the first thing you have to do is to checkout the Geronimo source by typing the following command:
svn checkout http://svn.apache.org/repos/asf/geronimo/trunk <trunk_home>
...
-vv --veryverbose
Sets the console log level to DEBUG, resulting in even more console output.unmigrated
-wiki-markup*-override \ [_configId_]*
Overrides the configurations in <geronimo_home>/var/config.list such that only the configurations listed on the command line will be started. Note that many J2EE
features depend on certain configs being started, so you should be very careful what you omit. Any arguments after -override are assumed to be configuration names.
As a difference, geronimo run
will run on the same window where you typed the command, startup
will open a new window. The information displayed on screen will be slightly different too.
...
As an alternative to stop the Geronimo server you have the shutdown
. This command has the following syntax:
*{{<geronimo 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.unmigrated-wiki-markup
*{{--password
\ [
_password
_]
}}*
Specifies the password for the user name you just entered. By default you would normally use manager as the password.
unmigrated-
wiki-
markup*{{--port
\ [
_port_number
_]
}}*
Specifies the RMI naming port to connect to the server (for example JMX connection port). By default you would normally use port 1099.
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.
...
In this properties file you can also set the log file name and maximum size. These values are set by default to geronimo.log
and 10MB
respectivlely.
Note |
---|
We just mentioned that the log level is set to *DEBUG* by default. When you start Geronimo with this log level setting you will see an SSL implementation error, here is an excerpt:
{{ |
Changing default ports
...
Test the sample applications by accessing the following URLs respectively:
http://localhost:8080/jsp-examples/
http://localhost:8080/servlets-examples/
Navigate through the samples.
...
For additional details on the topics covered in this article visit the following URLs: