This document provides the steps to have an Apache front for Jboss or Tomcat. The following topics are included:

Configuring Apache

The following instructions are from the Jboss community docs.

 

Note

Everything in this mod-jk.conf is loaded into httpd.conf which defaults to the port 80 settings.

 

Configuring JBoss/Tomcat

Adding SSL

On the Apache server:

Notes

Some jboss applications have more than one server inside the jboss instance and these will have to be mapped via uriworkermap.properties as well. To check this:

What Ports

Deploying OpenSpecimen in Apache Front Ending Environment

For deploying OpenSpecimen in the Apache front end JBOSS environment you need to take care of the following properties in the caTissueInstall.properties file:

Apache by default listens on both port 80 and 443 (HTTP and HTTPS).  You should properly configure the Apache server to match your deployment environment.  For example, if you are deploying OpenSpecimen with HTTPS then only port 443 should be opened.

You need to specify the JBOSS IP in the worker.properties[-i] file, and to map the application URLs
like /catissuecore, /cas you need to modify the uriworker.properties[-i] file in Apache Server.

Please note that for secure OpenSpecimen connections to work properly, SSL termination should not happen before Apache (or JBoss). For example, you should not terminate your SSL connections at the load balancer.