JBoss

Prerequisites

  • JBoss is installed on your system

Steps

Deploying the IRV middletier into JBoss is simple given its packaging as an J2EE EAR file. Use the following three steps.

Set JBOSS_HOME

The IRV build system uses JBOSS_HOME to know where to deploy the IRV EAR file to. If you are not using the IRV build system (ant) and just have the IRV EAR file, you may skip this step.

For example (on Windows),

set JBOSS_HOME=c:\jboss

Start JBoss

Run the run.bat (Windows) or run.sh (Unix) file within your JBOSS_HOME/bin directory.

For example (on Windows),

c:\jboss\bin\run.bat

Deploy the EAR

If you are using the IRV BuildSystem, from the IRV root directory (the one with a build.xml file), just type:

ant deploy

If you are not using the IRV build system, manually copy the IRV EAR file to JBOSS_HOME/server/default/deploy.

For example (on Windows),

move polaris-ear.jar c:\jboss\server\default\deploy

Either of these actions will put the IRV EAR file into JBoss deployment directory, which will use automatic loading to detect the EAR file and deploy it within the JBoss server.