Alexander Diedler wrote:
Hello,
I know the way to conenct a single Tomcat to an IIS in Windows 2003 with
isapi_redirect.dll, worker.properties and uriworkermap.properties. But, how
we can connect two different Tomcats (e.g. Tomcat 6.0.32 and 7.0.19) to
Websites in the same IIS ?
For isapi_redirect/mod_jk, a Tomcat is designated as a "worker".
So, in short, just define an additional "worker" in the workers.properties for the
additional Tomcat, and then map some URLs to that worker in uriworkermap.properties.
Before :
workers.list=worker1
worker.worker1.host=first-tomcat
worker.worker1.port=8009
...
After :
workers.list=worker1,worker2
worker.worker1.host=first-tomcat
worker.worker1.port=8009
...
worker.worker2.host=second-tomcat
worker.worker1.port=8010
...
and, in the new Tomcat, make the AJP Connector port match the one you used for
worker2.
There is a bit kore to it, but that should get you going. There are also
examples in the docs.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org