tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QM <qm...@brandxdev.net>
Subject Re: Multiple instances of Tomcat.
Date Mon, 09 Aug 2004 17:44:08 GMT
On Mon, Aug 09, 2004 at 10:04:56AM -0700, Bill Hughey wrote:
: Second question: would it be possible if this works for the inner servlet to access memory
(objects) instanciated by the outer servlet?

Likely, no.  Read on:


: Note: I have noticed that servlets within the same context have access to each others memory,
while servlets of different contexts do not.  Anyone care to confirm, elaborate, explain,
contradict?

The Tomcat site has a doc on the product's layered classloader approach.
(This concept isn't unique to Tomcat, but that's another story.)

In short, each context (webapp) lives in its own classloader.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
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