Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can iis redirect to Tomcat on a different server?

Status
Not open for further replies.

Reborn02

MIS
Dec 1, 2004
5
US
Hi,
The only setup of Tomcat and IIS w/ the redirector I have done is with both on the same server.
I now need to try and run an IIS Web server and redirect to Tomcat on a different server.
I have seen no documentation that describes this setup.
Can it be done this way and if so how or can you direct me to documentation for this type of setup?

thanks very much.....
D
 
Isn't his more of an IIS question ? Try forum41

--------------------------------------------------
Free Database Connection Pooling Software
 
No,
I consider it a Tomcat question. Since its Tomcat Im trying to use and Tomcat has all the documentation. Microsoft has no documentation for setting up to use Tomcat. The iis redirector is from Tomcat as well.
But thanks....
 
Ah, I see your point.

In this case, you just configure your workers.properties file with the different host :


worker.ajp13.host=someRemoteServerIP
worker.ajp13.port=8009

See "Advanced Worker Configuration" section here

--------------------------------------------------
Free Database Connection Pooling Software
 
Doesn't that still require a version of Tomcat installed on the same server as your iis web server? I saw that but those workers.properties files are part of the Tomcat install.
If iis is on one server and Tomcat on another server. How would iis know to point to a totally different server if The isapi_redirector is on the Tomcat server?
Do you see my dilema?

D
 
The isapi_redirector sits on the IIS box, not the Tomcat box ...

--------------------------------------------------
Free Database Connection Pooling Software
 
Yes...but the workers.properties file is on tomcat..right?
Or can I put that on the iis box as well. Would I just put those files in the same directory I would pick to place the isapi_redirector.dll and then modify the properties files from there?

thanks for your patience (did I spell patience right?)

D
 
no, workers.properties MUST be on the IIS box - else how would it know which box to forward stuff to ?!

--------------------------------------------------
Free Database Connection Pooling Software
 
Thats what i was thinking.
But thought that workers.properties was part of Tomcat install and needed by Tomcat.

I will give it a shot.
Thanks for your input.

D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top