Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 55185 invoked from network); 1 Jul 2005 08:19:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Jul 2005 08:19:02 -0000 Received: (qmail 59281 invoked by uid 500); 1 Jul 2005 08:18:38 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 59264 invoked by uid 500); 1 Jul 2005 08:18:37 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 59239 invoked by uid 99); 1 Jul 2005 08:18:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2005 01:18:37 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [82.70.116.177] (HELO mail.melandra.com) (82.70.116.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2005 01:18:39 -0700 Content-Class: urn:content-classes:message Subject: RE: JVM in Tomcat MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 1 Jul 2005 09:18:34 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: JVM in Tomcat thread-index: AcV9/6+kV0/2sdt6TZm0pVTnW9H2hwAFRmXA From: "Peter Crowther" To: "Tomcat Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > From: Gulshan Babajee [mailto:gulshan.babajee@parabolemaurice.com]=20 > Hi, Can anyone please tell me how could I verify that all my=20 > applications running in tomcat are using the same JVM instance. Try the following chain of reasoning: 1. Only one JVM instance can listen on any given port, such as 8080; 2. The ports for a given Tomcat are set in conf/server.xml; 3. All my Tomcat apps are available on one of the ports listed in my only conf/server.xml; 4. Therefore all my Tomcat apps are running in one JVM instance. This fails if you have more than one conf/server.xml - in which case, your apps probably aren't running in the same JVM. Also, issues such as RMI, Web services and the like can confuse the issue, as your apps may be making use of services provided by components running in other JVMs. You'd have to check the details of each webapp to verify this. That's my view - can anyone else confirm or deny? - Peter -- Peter Crowther, Director, Melandra Limited John Dalton House, 121 Deansgate, Manchester M3 2AB t: +44 (0)161 828 8736 f: +44 (0)161 832 5683 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org