"Wegener, Dierk" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to