tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick McKenna" <nick.mcke...@mckennaconsultants.com>
Subject Tomcat IIS isapi_redirect.dll And Virtual Hosting
Date Fri, 08 Sep 2006 19:44:47 GMT
Hi All

 

I am having a really hard time getting Tomcat to play nice with multiple
hosts. I am running:

 

IIS 6.0

Tomcat 5.0.x

Jakarta Isapi Redirector 1.2.14.0

 

I have two Tomcat services installed in separate folder structures using
one instance of Tomcat (i.e. I am using CATALINA_BASE to point to
instances of Tomcat). Both are using different ports. I have two IIS web
sites defined (both pointing to the same Jakarta Isapi Redirector
folder).

 

The problem I have is that I am try to get two web apps working
(www.johnsonskarate.com <http://www.johnsonskarate.com/>  and
www.mckennademo.com <http://www.mckennademo.com/> ) However, regardless
of the URL used, I always see www.johnsonskarate.com
<http://www.johnsonskarate.com/>  (try it yourself and see).

 

Has anyone got any ideas on what I might be doing wrong?

 

The config files are:

 

WORKERS.PROPERTIES

worker.list=wlb,wlb2,jkstatus

worker.ajp13w2.type=ajp13

worker.ajp13w2.host=www.mckennademo.com

worker.ajp13w2.port=9009

 

worker.ajp13w.type=ajp13

worker.ajp13w.host=www.johnsonskarate.com

worker.ajp13w.port=8009

 

worker.jkstatus.type=status

 

URIWORKERMAP.PROPERTIES

/admin/*=wlb

/manager/*=wlb

/jsp-examples/*=wlb

/servlets-examples/*=wlb

/ma/*=wlb

/BirtViewer/*=wlb

 

/www.johnsonskarate.com/*=wlb

/www.mckennademo.com/*=wlb2

 

/jkmanager=jkstatus

 

 

Thanks,

 

Nick.

 

 

 

Nick McKenna
Managing Director
McKenna Consultants Ltd

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message