>How do you know you're getting two instances of the singleton?
I print out the counter in the constructor. ( I also using a debugger check, my
filter got call twice also).
> By any chance, do you have two <Host> elements, both using the same appBase
> value?I guess you talking about the <Host> in the server.xml under
> TOMCAT/conf ?! I only have one, and it is
<Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true"
xmlNamespaceAware="false" xmlValidation="false">
Thanks
Elwin
> From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Date: Wed, 4 Jun 2008
> 18:21:12 -0500> Subject: RE: Singleton in Tomcat 6.0 not working> > > From:
> ktou Ho [mailto:[EMAIL PROTECTED]> > Subject: RE: Singleton in Tomcat 6.0 not
> working> >> > I deploy the web app as ROOT.war to TOMCAT/webapps, (I> >
> removed the old ROOT first for sure). And I am pretty sure, I> > didn't
> deploy twice.> > How do you know you're getting two instances of the
> singleton?> > By any chance, do you have two <Host> elements, both using the
> same appBase value?> > - 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]>
_________________________________________________________________
Enjoy 5 GB of free, password-protected online storage.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_062008