Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 53146 invoked from network); 21 Nov 2003 08:11:58 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Nov 2003 08:11:58 -0000 Received: (qmail 43558 invoked by uid 500); 21 Nov 2003 08:11:15 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 43546 invoked by uid 500); 21 Nov 2003 08:11:15 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 43532 invoked from network); 21 Nov 2003 08:11:14 -0000 Received: from unknown (HELO quark1.retarus.de) (62.159.108.76) by daedalus.apache.org with SMTP; 21 Nov 2003 08:11:14 -0000 Received: from [172.19.20.34] (HELO ela5.retarus.de) by quark1.retarus.de (CommuniGate Pro SMTP 4.0.6) with SMTP id 24140929 for tomcat-user@jakarta.apache.org; Fri, 21 Nov 2003 09:24:43 +0100 Received: from [10.128.18.205] (HELO mchwex08.mch.bshg.com) by ela5.retarus.de (CommuniGate Pro SMTP 4.0.6) with ESMTP id 10430026 for tomcat-user@jakarta.apache.org; Fri, 21 Nov 2003 09:11:25 +0100 Received: by mchwex08.mch.bshg.com with Internet Mail Service (5.5.2655.55) id ; Fri, 21 Nov 2003 09:10:56 +0100 Message-ID: <7109F530490CD711B3AA0002A53F47B1016FEEC0@mchwex11.mch.bshg.com> From: "Wegener, Dierk" To: 'Tomcat Users List' Subject: AW: Multiple Tomcats handled by one Apache Date: Fri, 21 Nov 2003 09:10:56 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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" 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