Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  • 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.orgImage Removed
  • 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.orgImage Removed
  • 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.comImage Removed

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/trunkImage Removed <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:

Wiki Markup*{{<geronimo<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.

unmigrated-wiki-markup
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: {{
DEBUG \ [SSLImplementation] Error loading SSL Implementation org.apache.tomcat.util.net.puretls.PureTLSImplementation}} {{
java.lang.ClassNotFoundException: COM.claymoresystems.ptls.SSLContext}} {{
...}}
This is more a debug message than an error, Tomcat supports two different SSL implementations and one of those is TLS. This message is displayed when Tomcat loads Sun's SSL implementation after attempting and failing to load TLS. This is a message generated by Tomcat, not Geronimo and it is not an error so it can be ignored. Refer to [GERONIMO-1048|http://issues.apache.org/jira/browse/GERONIMO-1048] for tracking this issue.

Back to Top

Changing default ports

...

Test the sample applications by accessing the following URLs respectively:

http://localhost:8080/jsp-examples/Image Removed

http://localhost:8080/servlets-examples/Image Removed

Navigate through the samples.

...

For additional details on the topics covered in this article visit the following URLs:

...