[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    RE: Sharing an object between two webapps
From:       "Caldarale, Charles R" <Chuck.Caldarale () unisys ! com>
Date:       2007-11-23 16:17:35
Message-ID: 2828B04F0113CD468E6D1D51DF4362A40408AD38 () USEA-EXCH2 ! na ! uis ! unisys ! com
[Download RAW message or body]

> From: Kaspar Fischer [mailto:fischerk@inf.ethz.ch] 
> Subject: Sharing an object between two webapps
> 
> I guess this is related to classloaders, but do not know how 
> to proceed.

You are correct in that it's related to classloaders, but the specific
answer depends on the version of Tomcat you're using, which you didn't
tell us.  Look at the docs for the appopriate level:
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html

Make sure that access to such shared data is properly synchronized, or
you'll continue to have problems.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic