tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Diedler <>
Subject AW: Multiple Tomcat Servers connect to IIS
Date Wed, 10 Aug 2011 12:12:01 GMT
Sorry, One mistake in the server.xml conf below, I correct them.

-----Ursprüngliche Nachricht-----
Von: Alexander Diedler 
Gesendet: Mittwoch, 10. August 2011 14:10
An: 'Tomcat Users List'; 'Tomcat Users List'
Betreff: AW: Multiple Tomcat Servers connect to IIS

Yes, but we do not map single Apps like /app1 /app2 ,,.. every App has it
own Host in server.xml and conf/Catalina

My new

#Tomcat 6.0.32

#Tomcat 7.0.19


# Mapping all URI which end with a common suffix:


# Mapping all URI which end with a common suffix:

# Exclusions

Server.xml from TC 6.0
<Server port="8005" shutdown="SHUTDOWN">
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<Engine name="Catalina" defaultHost="localhost" jvmRoute="worker1">
<Host name="">
className="org.apache.catalina.valves.AccessLogValve" directory="logs"  
               		prefix="siteA_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>


Server.xml from TC 7.0
<Server port="8006" shutdown="SHUTDOWN">
<Connector port="8010" protocol="AJP/1.3" redirectPort="8444" />
<Engine name="Catalina" defaultHost="localhost" jvmRoute="worker2">
<Host name="">
className="org.apache.catalina.valves.AccessLogValve" directory="logs"  
               		prefix="siteB_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>


Now, if a browse then I get a Tomcat 404 error from the
TC7.0  (where only is known) and if I browse the I get a blank page.. I do
not know where I was thrown.

Best regards

-----Ursprüngliche Nachricht-----
Von: André Warnier [] 
Gesendet: Mittwoch, 10. August 2011 13:49
An: Tomcat Users List
Betreff: Re: Multiple Tomcat Servers connect to IIS

Alexander Diedler wrote:
> Hello,
> I know the way to conenct a single Tomcat to an IIS in Windows 2003 
> with isapi_redirect.dll, and 
> 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
for the additional Tomcat, and then map some URLs to that worker in

Before :


After :


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:
For additional commands, e-mail:

View raw message