Versions Compared

Key

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

...

SPECjAppServer2004 is a commercial benchmark for measuring the performance of Java EE application servers.

EAStress2004 is a reduced workload that is a part of SPECjAppServer2004 v1.08, it relaxes run and reporting rules, enabling informal results to be shared more easily in open-source research and development projects.

...

Configuring Geronimo

Adjusting configuration

Adjust the EJB configuration by adding the allowHosts attribute to If your geronimo.host and your driver.host are the same machine, you have to adjust the port number of the Geronimo RMI Registry (to e. g. 1199), otherwise it would conflict with the SPECjAppServer2004 Driver that uses the default port of 1099. Edit the <GERONIMO>/var/config/config-substitutions.xml file, as shown below.

This is necessary to allow the SPECjAppServer2004 Driver to remotely access the EJBs deployed in Geronimo.

...


<module name="geronimo/openejb/1.1/car">
  <gbean name="EJBNetworkService">
    <attribute name="host">0.0.0.0</attribute>
    <attribute name="port">4201</attribute>
    <attribute name="allowHosts">0.0.0.0</attribute>
  </gbean>
</module>

If your geronimo.host and your driver.host are the same machine, you have to adjust the port number of the Geronimo RMI Registry (to e. g. 1199), otherwise it would conflict with the SPECjAppServer2004 Driver that uses the default port of 1099:

...

properties file and change the NamingPort variable value.

Starting Geronimo

Go to your <GERONIMO> directory.

...

Panel
borderStylesolid

java -Djava.endorsed.dirs=lib/endorsed -javaagent:bin/jpa.jar -jar bin/server.jar

You may also use <GERONIMO>/bin/geronimo.sh or <GERONIMO>/bin/geronimo.bat scripts instead.

It will take some time to start. After that, you will see:

No Format
bgColorblack
borderStylesolid
Booting Geronimo Kernel (in Java 1.5.0_11)...
Starting Geronimo Application Server v2.0.1
[********************************] 100%  73s38s Startup complete
  Listening on Ports: 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  ActiveIO ConnectorOpenEJB EJBDaemon
    42426882 0127.0.0.01 RemoteOpenEJB LoginORB ListenerAdapter
    8009 0.0.0.0   Jetty Connector AJP13
    8080 0.0.0.0   Jetty SelectChannel Connector HTTP
    8443 0.0.0.0 Jetty0   Jetty Select Channel Connector HTTPHTTPS
    84439999 0.0.0.0   JMX JettyRemoting Connector HTTPS
   61613 9999 0.0.0.0   JMXActiveMQ RemotingTransport Connector
   61616 0.0.0.0   ActiveMQ Message BrokerTransport Connector

  Started Application Modules:
    EAR: org.apache.geronimo.configs/webconsole-jettyjetty6/2.0.1/car
    RAR: org.apache.geronimo.configs/activemq-ra/2.0.1/car
    RAR: org.apache.geronimo/activemq/1.configs/system-database/2.0.1/car
    RARWAR: org.apache.geronimo.configs/systemdojo-databasejetty6/12.0.1/car
    WAR: org.apache.geronimo.configs/remote-deploy-jetty/12.0.1/car
    WAR: org.apache.geronimo.configs/welcome-jetty/12.0.1/car

  Web Applications:
    http://geronimo.host:8080/
    http://geronimo.host:8080/console
    http://geronimo.host:8080/console-standard
    http://geronimo.host:8080/dojo
    /remote-deploy

Geronimo Application Server started

...