Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Go Back   Code Forums > Software > Web/Application Servers ( Apache, Tomcat, IIS, JBoss, Websphere, etc... )
User Name
Password

Reply
 
LinkBack Thread Tools Display Modes
Old 04-11-2005, 02:05 AM   #1 (permalink)
dav_c
Registered User
 
Join Date: Apr 2005
Location: london
Posts: 2
dav_c is on a distinguished road
Tomcat and IIS on different machines

Hallo,

I'm trying to achieve a set up where I have IIS residing on a machine in the DMZ, acting as a web server. I also have Tomcat on an internal server acting as the jsp / servlet engine. I want the 2 to work together so IIS takes dynamic content from Tomcat.

I have managed to use isapi_redirect to configure Tomcat and IIS to work togther when they are both on the same machine (ie - install isapi_redirect, change Tomcat workers file and uri_mapping file and change IIS registry).

However, I cannot find any info on getting them to work on seperate machines. When I try to configure IIS, I get stumped because my virtual directory needs a location which is on a seperate machine. Also the ISAP filter needs to point to a location on a different machine. does anyone know the best way to do this (I cannot map drives within the dmz either)

Thanks in adbvace for any help
__________________
dav_c is offline   Reply With Quote
Old 04-11-2005, 10:29 AM   #2 (permalink)
technobard
Centurion Nova Prime
 
technobard's Avatar
 
Join Date: May 2002
Location: Oak Park, IL (USA)
Posts: 284
technobard is on a distinguished road
These two links should help:
http://jakarta.apache.org/tomcat/con...onfig/iis.html http://jakarta.apache.org/tomcat/con...g/workers.html

As I understand it, workers.properties supports different hosts and different ports.

The virtual directory shouldn't require direct access to Tomcat managed directories. uriworkermap.properties maps URL paths to workers defined in workers.properties.
__________________
It takes 2 points to draw a straight line, but at least 3 points to draw a conclusion.
technobard is offline   Reply With Quote
Old 04-12-2005, 12:22 AM   #3 (permalink)
dav_c
Registered User
 
Join Date: Apr 2005
Location: london
Posts: 2
dav_c is on a distinguished road
Thanks for the response. however, I still think I need to specify the tomcat directories on the iis machine. uri_workermap.properties and workers.properties must reside within the tomcat directory structure. The iis virtual directory and the registry settings on the iss machine must both point to uriworkermap.properties - so i'm still stumped as to how i can specify the location of uriworkermap.properties from the iis machine within the dmz. any further help would be good.

thanks again
__________________
dav_c is offline   Reply With Quote
Old 04-12-2005, 05:33 AM   #4 (permalink)
technobard
Centurion Nova Prime
 
technobard's Avatar
 
Join Date: May 2002
Location: Oak Park, IL (USA)
Posts: 284
technobard is on a distinguished road
Hmmm...not an ideal solution, but what if you simply copy the workers.properties and uriworkermap.properties files to the IIS machine? If you make changes, you'd have to keep them in sync, but if you only need access to those files, that should do it.

Along the same lines, you could install Tomcat both on the IIS machine and on the non-DMZ machine. You would then use the .properties files from the local install, but only reference contexts that are on the non-DMZ machine. I'm not sure that this buys you much beyond the first option, but it does give you the ability to host different contexts on different servers, load balancing, etc. if you want in the future.
__________________
It takes 2 points to draw a straight line, but at least 3 points to draw a conclusion.
technobard is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 09:01 PM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2006, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
Open Circle