tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wegener, Dierk" <Dierk.Wege...@bshg.com>
Subject AW: Multiple Tomcats handled by one Apache
Date Fri, 21 Nov 2003 07:37:19 GMT
Hello,

I didn't find any hint in these links. So maybe anyone can describe
how to manage this.

For configuring the two different versions of Tomcat I think I have
to switch the mod_jk.conf including depending on the version I want to use.
So mod_jk.so should be able to forward requests to different ports.
Say that Tomcat 1 is a 3.3.1 and Tomcat 2 is a 4.1.24. Tomcat 1 uses
port 8007 and Tomcat 2 uses 8009 to listen to Apache. I setup virtual
hosts in Apache's httpd.conf which has different paths for including
the mod_jk.conf and different uris in the JkMounts.

That's the way I tried, but it doesn't work.

Dierk Wegener

-----Ursprungliche Nachricht-----
Von: Tim Funk [mailto:funkman@joedog.org]
Gesendet: Donnerstag, 20. November 2003 18:44
An: Tomcat Users List
Betreff: Re: Multiple Tomcats handled by one Apache


Its possible. (Hopefully one of links describes it) ...
http://jakarta.apache.org/tomcat/faq/connectors.html


-Tim

Wegener, Dierk wrote:

> Hello,
> 
> is it possible to use different Tomcats (not multiple instances but real
> different versions)
> in one Apache installations? 
> 
> In workers.properties there is an entry for workers.tomcat_home which I
> suppose to mean
> that multiple instances of one Tomcat installation can be started as
> workers.
> 
> My problem is that several systems on one physical machine need different
> Tomcat versions
> but all have to be reachable on Port 80. So my approach was to load the
> mod_jk and to define
> VirtualHosts (in httpd.conf) where the Include-directives point to the
> different Tomcats. Using 
> different mount points for JkMount should direct the requests to the
correct
> application.
> 
> Unfortunately I am not able to get to work such a configuration.
> 
> Can anyone help? Thanks!!
> 
> Dierk Wegener
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message