Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2008

Tip: Looking for answers? Try searching our database.

IIS redirection to multiple instances of Tomcat

Thread view: 
RTR - 02 Jan 2008 16:32 GMT
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
RTR - 05 Jan 2008 07:16 GMT
Can anyone answer this question .

thanks
RedGrittyBrick - 05 Jan 2008 17:03 GMT
> 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?
RTR - 07 Jan 2008 21:27 GMT
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.
Arne Vajhøj - 08 Jan 2008 01:38 GMT
> 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
Lew - 08 Jan 2008 02:02 GMT
>> Actually this is a Tomcat question. Setting up IIS with single
>> instance of tomcat is pretty straight forward. It is the multiple
[quoted text clipped - 3 lines]
>
> 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
[quoted text clipped - 4 lines]
> 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.

Signature

Lew



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.