I have Apache http 2.2.4 and 5 different instances of
Tomcat running on a server (Windows Server 2003), all as windows services.
I have attempted to use mod_jk so when the user goes to
http://servername he/she is sent to the same Tomcat instance as
http://servername:8080
Here is the relevant line in httpd's workers.properties file:
workers.tomcat_home="D:\Program Files\Apache Software Foundation\Tomcat 6.0"
^ This is the Tomcat instance at port 8080
But when the server must be restarted for any reason, httpd starts to point to another (incorrect) instance of Tomcat. I basically have to shut down all my tomcat instances and httpd and restart them in a particular order to get httpd pointing to port 8080.
Are my settings in workers.properties being ignored? If so, why? Is it possible some mod_jk settings are hidden in the registry? How can I set the configuration to point to my desired tomcat instance without having to manually restart everything?
Thanks for your help and consideration, it is much appreciated. If I can provide any more relevant information please let me know.