Updated code for tomcat module

Includes code to enable simple clustering and jndi databases