Hi, I have several identical applications running in Tomcat 5, bascially they all have same functionality but used by different users (virtual hosting kind of setup) I need a way for all those applications to pull objects from the same pool, so I guess pool would be on container level. Any ideas on how to do this? Thank you for your time. Sincerely, Fedor
Implement your object cache as a Singleton. This should be accessible if all your applications use the same jvm. I am not aware if tomcat provides any container level objects. You might also want to take a look into their documentation otherwise.
I am trying something out right now. I took the PoolManager class and threw it into common/classes under Tomcat while taking it out from classes folder that belongs to applications. I got much testing to do to see if it will in fact properly, so if anyone has anything against it, please do let me know Thanks, Fedor