RE: Singleton and ServletContext

2006-09-08 Thread Peter Crowther
> From: Marc Farrow [mailto:[EMAIL PROTECTED] > Would you not accomplish the same thing by placing it in > shared/lib instead of common/lib? *sigh*. Yes. Sorry, misread the diagram. - Peter - To start a new t

Re: Singleton and ServletContext

2006-09-08 Thread Marc Farrow
e jar it is loaded from should probably be in common/lib. See http://tomcat.apache.org/tomcat-4.1-doc/class-loader-howto.html for more on Tomcat classloader hierarchy. Please respond to "Tomcat Users List" To: "Tomcat Users List" cc: Subject: Singleton and Servle

Re: Singleton and ServletContext

2006-09-08 Thread DJohnson
from should probably be in common/lib. See http://tomcat.apache.org/tomcat-4.1-doc/class-loader-howto.html for more on Tomcat classloader hierarchy. Please respond to "Tomcat Users List" To: "Tomcat Users List" cc: Subject:Singleton and ServletConte

RE: Singleton and ServletContext

2006-09-08 Thread Peter Crowther
> 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 i

Singleton and ServletContext

2006-09-08 Thread Feris Thia
Dear All, Is there anyone can point me to any sample how to use singleton object across web application in Tomcat ? -- Regards, Feris PT. Putera Handal Indotama JL. KH. Moh. Mansyur No. 11 Blok B.8-12 Telp. +62-21-631 6688 (Hunting) Fax. +62-21-6330211 Jakarta (10140) - INDONESIA