Versions Compared

Key

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

...

...

  • <DUMP> – directory at the driver.host where the SPECjAppServer2004 Driver will store its temporal files.
Note

On Windows some components may work incorrectly if working paths are too long or contain spaces. So it's recommended that you avoid long paths and spaces in them.

...

Note

Edit the deployment plans in <SPEC>/src/geronimo, replace remove all message-driven-destination tags from mfg.xml, orders.xml and supplier.xmlGeronimo v2.0.1 doesn't handle those tags correctly.

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

This problem is caused by OPENEJB-701 bug and should disappear after that bug is fixed.

...

Make sure the files SPECjAppServer.ear and Emulatoremulator.war are created in the <SPEC>/jars directory.

...

Info

Note that if your geronimo.host and your driver.host are the same machine, and you changed the port number of the Geronimo RMI Registry, you should specify that port number in all deployer commands, like this:

Panel
borderStylesolid

java -jar bin/deployer.jar --port 1199 ...

Logging in

To avoid specifying login credentials on any call to deployer, you can login first:

Panel
borderStylesolid

java -jar bin/deployer.jar -u system -p manager login

Deploying database connector

...

Panel
borderStylesolid

java -jar bin/deployer.jar --user system --password manager deploy repository/org/tranql/tranql-connector-derby-embed-xa/1.13/tranql-connector-derby-embed-xa-1.13.rar <KIT>/sjas-db.xml

You will get the Deployed SPECSPECjAppServer2004/SPECjAppServerDBDB/1.08/carrar diagnostic.

Deploying JMS connector

...

Panel
borderStylesolid

java -jar bin/deployer.jar --user system --password manager deploy repository/org/apache/geronimo/gemodules/geronimo-activemq-rarra/12.0.1/gegeronimo-activemq-rarra-12.0.1.rar <KIT>/sjas-jms.xml

You will get the Deployed SPECSPECjAppServer2004/SPECjAppServerJMSJMS/1.08/carrar diagnostic.

Deploying the main application

...

Panel
borderStylesolid

java -jar bin/deployer.jar --user system --password manager deploy <SPEC>/jars/SPECjAppServer.ear <KIT>/sjas2004sjas-app.xml

You will get the Deployed SPECSPECjAppServer2004/SPECjAppServerApplication/1.08/ear diagnostic.

Verifying the deployment

...

Panel
borderStylesolid

java -jar bin/deployer.jar --user system --password manager deploy <SPEC>/jars/Emulator.war <KIT>/sjas-emulator.xml

You will get the Deployed SPECSPECjAppServer2004/Emulator/1.08/war @ http://geronimo.host:8080 /Emulator diagnostic.

Using a stand-alone servlet container

...