> From: Feris Thia [mailto:[EMAIL PROTECTED] 
> Is there anyone can point me to any sample how to use singleton object
> across web application in Tomcat ?

See http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html

You need to ensure that the singleton is loaded by the same classloader
in each webapp.  The most appropriate classloader for this is the Common
classloader, so have a look at the page above and put the singleton
class in the appropriate directory (depending on how it's packaged)
under $CATALINA_HOME/common.

                - Peter

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