Abhijat Thakur wrote:
> I need to run multiple instances of Tomcat on Apache. As mentioned in
> documentation i have the two server.xml files specifying two different
> ports. Tomcat starts fine with the two server.xml files.
>
> I might be wrong when it comes to changes in Apache configuration that need
> to be done when multiple instances of tomcat need to be run.In Apache
> changes need to be made to mod_jk.conf.auto (since this is included in
> apaches httpd.conf)
Don't use the auto-generated config file; use static ones instead. Then Tomcat
won't overwrite your changes. I frequently start with the auto-gen'd file, copy
it to mod_jk.conf, and then I can tweak it as necessary.
In your case, you might have mod_jk.conf.tomcat1 and mod_jk.conf.tomcat2, and
include both of those in httpd.conf (instead of mod_jk.conf.auto).
dwh