IIS redirection to multiple instances of Tomcat

R

RTR

Hi,

I am trying to configure IIS redirection to Tomcat. Configuring IIS to
redirect to single instance of Tomcat webserver is done using
Redirector isapi_redirect.msi.
It works fine for redirecting to single server. But I have multiple
Tomcat installs on this server now. I would like to redirect to each
one of these tomcat instances.

there are 3 tomcat instances, each one runs on a seperate port number.
If I can use the isapi_redirect to redirect based on ports numbers
that will be great.

eg:
tomcat instance port number 8080
tomcat instance2 port number 8081
tomcat instnace 3 port number 8082

IIS runs on port 443.

Can some please give me the configuration needed to accopmlish this.

Thanks

RTR
 
R

RedGrittyBrick

RTR wrote ...
Can anyone answer this question .

It's a question about configuring IIS but this is a Java Programming
newsgroup. Isn't there a Microsoft forum of some sort where you can ask
the question?
 
R

RTR

Actually this is a Tomcat question. Setting up IIS with single
instance of tomcat is pretty straight forward. It is the multiple
instance I a looking to setup.

Thanks let me see if i can find a tomcat group.
 
A

Arne Vajhøj

RTR said:
Actually this is a Tomcat question. Setting up IIS with single
instance of tomcat is pretty straight forward. It is the multiple
instance I a looking to setup.

Thanks let me see if i can find a tomcat group.

This group may be as good as any for a Tomcat question.

Arne
 
L

Lew

Arne said:
This group may be as good as any for a Tomcat question.

Actually, if you got it working for one Tomcat, you should be able to set up
the other two instances identically.
there are 3 tomcat instances, each one runs on a seperate port number.
If I can use the isapi_redirect to redirect based on ports numbers
that will be great.

eg:
tomcat instance port number 8080
tomcat instance2 port number 8081
tomcat instnace 3 port number 8082

What tells IIS which Tomcat to use?

I'm not familiar with IIS, but the Tomcat site documents connecting to IIS via
the AJP connector on
<http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html>

I guess IIS configures similarly to Apache Web Server, in that there is a
directive that proxies requests to a given AJP port (JK Tomcat Connector)
based on, what, the incoming URL?

You can define multiple workers the workers.properties configuration file.

Seems to me you can use multiple workers to do what you want, and have IIS
redirect to the appropriate worker.

I haven't done this with IIS myself, but I have done it with Apache Web
Server, albeit not recently. By a cursory review of the Tomcat docs the
process appears pretty nearly identical. I don't remember all the details,
but I remember using multiple AJP workers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,836
Messages
2,569,748
Members
45,545
Latest member
rapter____0

Latest Threads

Top