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 08:10:56 GMT
Hello,

can you please describe you managed to get to work?

Thank you!

Dierk Wegener

-----Ursprungliche Nachricht-----
Von: Bill Barker [mailto:wbarker@wilshire.com]
Gesendet: Freitag, 21. November 2003 09:01
An: tomcat-user@jakarta.apache.org
Betreff: Re: Multiple Tomcats handled by one Apache



"Wegener, Dierk" <Dierk.Wegener@bshg.com> wrote in message
news:7109F530490CD711B3AA0002A53F47B1016FEEBE@mchwex11.mch.bshg.com...
> 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.
>

I don't know about you, but I have a similar config running for quite a
while now that works like a charm :).  Note that 8007 is the default port
for ajp12 (which is deprecated, even in Tomcat 3.3.x).  Both Tomcats should
be setup to have their ajp13 connector listening to the respective ports.

> 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

---------------------------------------------------------------------
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