Hi,
I 've configured two virtual hosts under Tomcat 4.0.1 working with Apache 1.3.20. They 
both load (on startup) a Servlet which creates a Singleton object that (in turn) 
creates a DB pool. Both servlets are defined in the separate web.xml files.
It seems that the second servlet does not create the pooling object but instead it 
gets an Instance of the one created by the first one (strange enough since they exist 
in different contexts).
Everything else seems to work in the appropriate virtual host context. Is this a 
matter concerning Singleton objects and maybe a bug, or is there something I 'm 
missing?
We 're trying to migrate to Tomcat from Resin and I haven't found any relative info so 
far regarding this problem.
Thanks in advance.


Reply via email to