apache

Migrating Jira and Confluence from Tomcat to Glassfish

I have had jira and confluence running under tomcat 5.5.23 (behind apache over AJP13/mod_jk) for a while now. The aim is to migrate them over to glassfish (behind the same apache but with mod_proxy).

Software versions:

  • Atlassian Jira 3.12.2
  • Atlassian Confluence 2.8.0
  • Apache Tomcat 5.5.23
  • Glassfish 2.1 build 39

First - some links I found useful:

libapache-mod-jk under sarge

Sarge installation. Apache is 1.3.x (packaged). JBoss is 3.2.7 with tomcat.

Aim: ajp13 working

For each (or at least several) virtual host under apache we have an equivalent webapp running under jboss. We'd like to use apache as the front end server.

So - here's an example app URL:

http://hostname:8080/app/

This should be accessable under

http://hostname/app/

mod_rewrite will be used to handle

http://hostname/ -> http://hostname/app/

since some things are apache only (awstats etc).

First - get libapache-mod-jk installed

apt-get install libapache-mod-jk

Subscribe to RSS - apache