...
Configuring Apache
- Download the latest version of mod_jk.so from http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/
- Rename the file downloaded to mod_jk.so and place it in /etc/httpd/modules on the Apache server.
...
- To see what ports Jboss is ACTUALLY listening to:
for
myport in $(ps -ef |grep jboss|grep -v grep|awk \{
'print $2;'
\}|xargs);
do
netstat -anp |grep $myport|grep LISTEN;done
Deploying
...
OpenSpecimen in Apache Front Ending Environment
For deploying caTissue 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 caTissue 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 openspecimen you need to modify the uriworker.properties[-i] file in Apache Server.
Please note that for secure caTissue 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.