> From: ktou Ho [mailto:[EMAIL PROTECTED] > Subject: RE: Singleton in Tomcat 6.0 not working > > Get some hints from this link > http://books.google.com/books?id=bgMKmsXVbTAC&pg=PA304&vq=sing > leton&dq=tomcat+6+singleton+not+working&source=gbs_search_s&si > g=t4ZT0XuVQsO2vs7PbKgTktLMarU#PPA141,M1
The above is why Mark T asked if your webapp was being deployed more than once. That would not explain why you're seeing the counter incremented twice; having the class loaded by separate classloaders would produce two print lines, but both of them would display a zero for the counter. There's something else going on here... - 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]