...
- 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:
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.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 | |
---|---|
|
Changing default ports
...
If you need to change any of these ports you can edit the config.xml
file located in the <geronimo_home>\var\config
directory. In the config.xml
file you will find the name of the network listener, host and port clearly identified. Here is an example:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<gbean name="TomcatWebSSLConnector"> <attribute name="host">0.0.0.0</attribute> <attribute name="port">8443</attribute> </gbean> |
...
Test the sample applications by accessing the following URLs respectively:
http://localhost:8080/jsp-examples/
http://localhost:8080/servlets-examples/
Navigate through the samples.
...