Manually Configure JBoss Container
JBOSS 4.0.4 Support for caGrid
| Make sure JBoss 4.0.4 is installed and the JBOSS_HOME environment variable is set. |
JBoss 4.0.4/4.0.5 installation guide: http://docs.jboss.org/jbossas/guides/installguide/r1/en/html/install.html
. Be sure to install the Tomcat container into JBoss.
Changes to Globus for JBOSS
In order to deploy Globus to the Tomcat in JBOSS Globus WSRF-Core needs two specific modifications.
- The AxisServlet needs to be able to support setting the root context based on the "webContext" variable set in the web.xml in the deployed wsrf.war/WEB-INF directory. Code exists in globus SVN head.
- The JNDIUtils needs to be modified to be able to suport adding the required context to the existing JNDI that JBOSS starts up. Code already exists in globus SVN head.
These required modifications all come in a modified and rebuilt wsrf-core.jar file which will be placed into
${jboss_globus_location}/lib
post deploying globus into JBOSS.
Deploy Globus to JBOSS Tomcat
To deploy Globus to the Tomcat container within JBoss, execute the following commands:

%> cd CAGRID_LOCATION/antfiles/jboss
%> ant -f jboss.xml deployJBoss -Djboss.dir="<path to your jboss installation (typically $JBOSS_HOME)>"
Deploy Globus to Secure JBOSS Tomcat
To deploy Globus to a secure Tomcat container within JBoss, execute the following commands:

%> cd CAGRID_LOCATION/antfiles/jboss
%> ant -f jboss.xml deploySecureJBoss -Djboss.dir="<path to your jboss installation (typically $JBOSS_HOME)>"
Follow these directions for modifying the Tomcat installation for Tomcat 5.5:
- The tomcat server.xml file is located in
{JBOSS_HOME}/server/default/deploy/jbossweb-tomcat55.sar - Edit the server.xml file per Globus instructions
- Note: <tomcat.dir> as specified in the Globus directions is
{JBOSS_HOME}/server/default/deploy/jbossweb-tomcat55.sar - Note: server.xml file location: JBoss: $JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/server.xml
- Uncomment the connector specifying port 8443 and make the changes as specified in the Globus instructions.
- Make sure to shut off the 8080 connector by commenting that section out.
- Make sure that you put the "Valve" in, in the server.xml. The server.xml in the JBoss container's "engine" is named "jboss.web" and not "Catalina" as stated in the Globus directions.
- Note: <tomcat.dir> as specified in the Globus directions is
- Save file
Deploy Services to JBoss
There are the following two ways:
- When in the deploy panel in Introduce select JBOSS_HOME as the deployment container
- From a terminal in the top directory of the service execute ant deployJBoss





