Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 88667 invoked from network); 1 Apr 2003 18:10:15 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 Apr 2003 18:10:15 -0000 Received: (qmail 11997 invoked by uid 97); 1 Apr 2003 18:12:07 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 11990 invoked from network); 1 Apr 2003 18:12:06 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 1 Apr 2003 18:12:06 -0000 Received: (qmail 87213 invoked by uid 500); 1 Apr 2003 18:09:59 -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 87197 invoked from network); 1 Apr 2003 18:09:59 -0000 Received: from unknown (HELO JTURNER) (207.86.123.243) by daedalus.apache.org with SMTP; 1 Apr 2003 18:09:59 -0000 Received: from JTURNER ([127.0.0.1]) by JTURNER with Microsoft SMTPSVC(5.0.2195.5329); Tue, 1 Apr 2003 13:10:01 -0500 MIME-Version: 1.0 Date: Tue, 01 Apr 2003 13:10:01 -0500 To: Tomcat Users List Subject: Re: Seperate tomcats - one apache Content-Type: text/plain; charset=iso-8859-15; format=flowed References: From: John Turner Message-ID: In-Reply-To: User-Agent: Opera7.03/Win32 M2 build 2670 X-OriginalArrivalTime: 01 Apr 2003 18:10:01.0441 (UTC) FILETIME=[E9A4AD10:01C2F879] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N It doesn't work at all. Believe me, I've now spent 14 hours trying to make it work. I posted yesterday exactly what I have done so far ("Help with one Apache, mod_jk, two Tomcats, no load balancing"). http://host1.com:8080 -> Tomcat 1 works great http://host2.com:8081 -> Tomcat 2 works great Apache Virtual Host host1 (http://host1.com) -> Tomcat 1 Apache Virtual Host host2 (http://host2.com) -> ALSO Tomcat 1 I've tried many variations of workers.properties, even setting up load- balanced workers as suggesting in http://www.ubeans.com/tomcat (private JVM section) even though I don't want load-balancing at all. mod_jk.log: [Mon Mar 31 16:48:59 2003] [mod_jk.c (471)]: agsp=80 agsn=host2.com hostn=host2.com shostn=host1.com cbsport=0 sport=0 [Mon Mar 31 16:48:59 2003] [jk_ajp_common.c (1391)]: Into jk_worker_t::get_endpoint ... ... [Mon Mar 31 16:48:59 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Mon Mar 31 16:48:59 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/images/A2_incent.jpg' [Mon Mar 31 16:48:59 2003] [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match tomcat1 -> / [Mon Mar 31 16:48:59 2003] [mod_jk.c (1277)]: Into handler r->proxyreq=0 r->handler=jakarta-servlet r->notes=1578240 worker=tomcat1 [Mon Mar 31 16:48:59 2003] [jk_worker.c (132)]: Into wc_get_worker_for_name tomcat1 [Mon Mar 31 16:48:59 2003] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker I don't know about you, but line number one there looks pretty fishy to me...I have no idea what "shostn" means (shared host name?), but it shouldn't be "host1", it should be "host2", and the worker found should be "tomcat2", not "tomcat1". I am definitely open to suggestions on how to make this work, but I can tell you that I am no stranger to setting up mod_jk (different port numbers, etc), and at this time this DOES NOT work for me with Apache .43, Tomcat 4.1.18, Solaris 8, and built-from-source mod_jk. John On Tue, 1 Apr 2003 10:46:38 -0700, George Sexton wrote: > I routinely run via the CATALINA_BASE method for multiple instances and > have > no problems. > > Using mod_jk, all you have to do is define the connectors to be on > different > ports, and then configure each servlet engine to run mod_jk on a > different > port. > > -----Original Message----- > From: Steve Harris [mailto:sharris@myra.com] > Sent: Tuesday, April 01, 2003 9:46 AM > To: tomcat-user@jakarta.apache.org > Subject: Seperate tomcats - one apache > > > Hi all, > > I'm having some fun with some applications supplied to us that may be > casuing a problem wiht each other, i.e. one application may be causing > the > whole tocat environment to fail - thus affecting the others. > > I'm toying with the idea of trying to run a signle apache but with > multiple tomcats - one per application. Does anyone have any views on > this > ? > > Cheers - Steve > > > --------------------------------------------------------------------- > 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 > > -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org