tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gulshan Babajee <gulshan.baba...@parabolemaurice.com>
Subject RE: JVM in Tomcat
Date Fri, 01 Jul 2005 08:32:25 GMT
Thanks for the answer peter. Its clear to me now

-----Original Message-----
From: Peter Crowther [mailto:Peter.Crowther@melandra.com] 
Sent: Friday, July 01, 2005 12:19 PM
To: Tomcat Users List
Subject: RE: JVM in Tomcat


> From: Gulshan Babajee [mailto:gulshan.babajee@parabolemaurice.com]
> Hi, Can anyone please tell me how could I verify that all my 
> 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

-- 
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.8/35 - Release Date: 30-06-2005
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.8/35 - Release Date: 30-06-2005
 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message