> From: Kevin Wilhelm [mailto:[EMAIL PROTECTED] 
> Subject: Share one singleton across webapps
> 
> There has to be a way to let the first webapp instantiate the 
> singleton and set some property so that the second webapp can
> use the singleton and read the property. How do I achieve this?

The class (or jar) to be shared must be placed in Tomcat's lib
directory.  No other configuration should be needed.  Look at the
following for details.
http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html

 - 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to