We have instances of Tomcat 5 (JDK1.5) and Tomcat 6 (JDK1.6) running quite happily on a RHEL 4 machine. They are fronted by Apache 2.2.8 with mod_jk.
The Tomcat 5 instances are configured in the following way:
worker.x.type=lb worker.x.balance_workers=node1 worker.x.sticky_session=True worker.x.sticky_session_force=True
We tried configuring Tomcat 6 in the same way, but we received an error message:
Error in reading worker properties from '/applications/apache2/conf/workers.properties' Configuration Failed
The only way we could get it to work was by removing the last two lines from each configuration 'block' for the Tomcat 6 instances. The Tomcat 5 blocks remained as above, while the Tomcat 6 blocks became:
Can anyone explain why this is? Has something changed between the AJP in Tomcats 5 and 6?