tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Crowther" <Peter.Crowt...@melandra.com>
Subject RE: Isolation between multiple TC instances
Date Wed, 17 Oct 2007 13:36:47 GMT
> From: David kerber [mailto:dckerber@verizon.net] 
> Running TC 5.5.15 on Windows Server 2003, JRE 1.5.0_12.
> 
> My understanding is that if I'm running the same (or 
> different, for that 
> matter) webapp on separate tomcat instances (different ports, context 
> roots, etc), they will each have their own copies of all 
> their internal 
> objects and data, and cannot communicate across instances without 
> special efforts being taken, even if they use many of the 
> same utility 
> libraries.
> 
> Is that understanding correct?  I hope so, because I'm working on 
> simplifying some of my internal property storage, and need to be sure 
> that they won't interfere with each other if the different 
> apps use the same base classes to store their own data.

Each Tomcat instance runs in its own Java virtual machine.  Each JVM has
its own copy of each class, as they each run in their own address space.
So you're correct.

		- Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message