Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This article is written for SPECjAppServer2004 v1.08 and Geronimo v2.1. For other versions some stages may be different. Older versions of this article for SPECjAppServer2004 v1.05 and older versions of Geronimo can be found here: v1.0, v1.1, v1.2, v2.0.2.

The described configuration uses as many Geronimo components as possible, including the built-in Derby database and the built-in Jetty or Tomcat servlet container. In fact, the configuration only uses Java, Geronimo, an external servlet container (e. g. Tomcat) and SPECjAppServer2004. To plug external components (most probably, a database), you have to change your configuration accordingly.

...

Latest version, 2.1: http://geronimo.apache.org/apache-geronimo-v21-release.html

Release notes: http://cwiki.apache.org/GMOxDOC20GMOxDOC21/release-notes-21txt.html

Documentation page: http://geronimo.apache.org/documentation.html

...

Two builds of Geronimo exist, with Jetty or Tomcat servlet container enabled by default. You can download either one at http://geronimo.apache.org/downloads.html, they are around 55 80 MB in size each. This document was written primarily using Jetty version, but Tomcat version works fine also.

...

Extract the downloaded archive to a local directory. The geronimo-jetty6-jee5javaee5-2.1 or geronimo-tomcat6-jee5javaee5-2.1 directory is created, that is your <GERONIMO> directory.

...

Info

Please note the two OpenEJB settings, they're necessary to tune Geronimo to the simple format of EJB JNDI names SPECjAppServer2004 uses.

See details at http://cwiki.apache.org/GMOxDEVGMOxDOC21/client-jndi-names.htmlImage Modified and http://cwiki.apache.org/OPENEJB/service-locator.html.

...

No Format
bgColorblack
borderStylesolid
Booting Geronimo Kernel (in Java 1.5.0_11)...
Starting Geronimo Application Server v2.1
[********************************] 100%  92s Startup complete
  Listening on Ports:
    1050 127.0.0.1 CORBA Naming Service
    1099 0.0.0.0   RMI Naming
    1527 0.0.0.0   Derby Connector
    2001 127.0.0.1 OpenEJB ORB Adapter
    4201 0.0.0.0   OpenEJB Daemon
    6882 127.0.0.1 OpenEJB ORB Adapter
    8009 0.0.0.0   Jetty Connector AJP13
    8080 0.0.0.0   Jetty SelectChannel Connector HTTP
    8443 0.0.0.0   Jetty SelectChannel Connector HTTPS
    9999 0.0.0.0   JMX Remoting Connector
   61613 0.0.0.0   ActiveMQ Transport Connector
   61616 0.0.0.0   ActiveMQ Transport Connector

  Started Application Modules:
    EAR: org.apache.geronimo.configs/webconsole-jetty6/2.1/car
    JAR: org.apache.geronimo.configs/mejb/2.1/car
    RAR: org.apache.geronimo.configs/activemq-ra/2.1/car
    RAR: org.apache.geronimo.configs/system-database/2.1/car
    WAR: org.apache.geronimo.configs/dojo-jetty6/2.1/car
    WAR: org.apache.geronimo.configs/remote-deploy-jetty/2.1/car
    WAR: org.apache.geronimo.configs/welcome-jetty/2.1/car

  Web Applications:
    /
    /console
    /console-standard
    /dojo
    /remote-deploy

Geronimo Application Server started

If you get another a different result, particularly, if network errors show up, then something has gone wrong.

...

Go to the <SPEC>/src/deploy directory and copy the reference subdirectory with its contents with the name geronimo.

...

geronimo

...

Instead of removing those tags, you also can replace them with <message-destination-type>javax.jms.Queue</message-destination-type>.

...

.

geronimo.env file

Go to the <SPEC>/config directory.

...