Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 97551 invoked from network); 11 Sep 2008 00:14:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Sep 2008 00:14:35 -0000 Received: (qmail 54735 invoked by uid 500); 11 Sep 2008 00:14:21 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 54711 invoked by uid 500); 11 Sep 2008 00:14:21 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 54700 invoked by uid 99); 11 Sep 2008 00:14:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 17:14:21 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mgainty@hotmail.com designates 65.55.111.97 as permitted sender) Received: from [65.55.111.97] (HELO blu0-omc2-s22.blu0.hotmail.com) (65.55.111.97) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2008 00:13:20 +0000 Received: from BLU142-W9 ([65.55.111.72]) by blu0-omc2-s22.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 10 Sep 2008 17:13:30 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_4819e11f-053d-4c77-9c9e-fa4f191145f9_" X-Originating-IP: [71.232.75.209] From: Martin Gainty To: Tomcat Users List Subject: RE: JVM per Context Date: Wed, 10 Sep 2008 20:13:30 -0400 Importance: Normal In-Reply-To: <48C85EBA.5030409@pidster.com> References: <19414891.post@talk.nabble.com> <0AAE5AB84B013E45A7B61CB66943C17214302C9353@USEA-EXCH7.na.uis.unisys.com> <19420413.post@talk.nabble.com> <48C85EBA.5030409@pidster.com> MIME-Version: 1.0 X-OriginalArrivalTime: 11 Sep 2008 00:13:30.0899 (UTC) FILETIME=[38B89E30:01C913A3] X-Virus-Checked: Checked by ClamAV on apache.org --_4819e11f-053d-4c77-9c9e-fa4f191145f9_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Mike
If your goal is to run TC with different JVMs have you looked at using each= JBM to run embedded Tomcat
http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html?page=3D1
?
Martin
=20 ______________________________________________
Disclaimer and confidentiality note=20 Everything in this e-mail and any attachments relates to the official busin= ess of Sender. This transmission is of a confidential nature and Sender doe= s not endorse distribution to any party other than intended recipient. Send= er does not necessarily endorse content contained within this transmission.= =20 > Date: Thu=2C 11 Sep 2008 00:56:42 +0100 > From: p@pidster.com > To: users@tomcat.apache.org > Subject: Re: JVM per Context >=20 > Michael Dehmlow wrote: > > Thanks=2C my version of tomcat 5.5.26. My mistake I was looking at tomc= at 3.3 > > documentation: > > http://tomcat.apache.org/tomcat-3.3-doc/tomcat-apache-howto.html > > http://tomcat.apache.org/tomcat-3.3-doc/tomcat-apache-howto.html . > >=20 > > Yes defining contexts in the Server.xml is discouraged but I'm doing it > > anyway. =3B) >=20 > Strongly suggested. >=20 > > For those in a similar situation I'm going down the path of defining an > > engine per context: >=20 > Still won't give you separate JVMs. >=20 > As Peter and Chuck indicated=2C you'll need to create separate Tomcat > instances if you want to have separate JVMs. When you start Tomcat you > are calling Java's JVM first=2C then Tomcat runs inside of it. >=20 > If you want another JVM instance you have to start another completely > external process. The JVMs don't run inside Tomcat=2C it's the other way > round. >=20 >=20 > > > > > unpackWARs=3D"true" > > xmlValidation=3D"false" xmlNamespaceAware=3D"false"> > > > > > > > > > > > >=20 > > Using jvmRoute the idea is to use the clustering mechanism of tomcat to= give > > me multiple jvms.... >=20 > I think you're mistaking jvmRoute for something it isn't. >=20 > This attribute is used to add a marker to the jsessionid so that routing > devices in front of a cluster of Tomcat servers can determine which > server to send a sticky session to. >=20 > http://tomcat.apache.org/tomcat-5.5-doc/config/engine.html >=20 >=20 > > This being only my theory I can only hope someone can either call me an > > idiot or give me a few pointers in short order. >=20 > http://tomcat.apache.org/tomcat-5.5-doc/ >=20 >=20 > p >=20 >=20 >=20 > > I will post my findings as I find them. > > Thanks=2C=20 > > Mike >=20 >=20 > --------------------------------------------------------------------- > To start a new topic=2C e-mail: users@tomcat.apache.org > To unsubscribe=2C e-mail: users-unsubscribe@tomcat.apache.org > For additional commands=2C e-mail: users-help@tomcat.apache.org >=20 _________________________________________________________________ Stay up to date on your PC=2C the Web=2C and your mobile phone with Windows= Live. http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/= --_4819e11f-053d-4c77-9c9e-fa4f191145f9_--