Re: While tomcat is initializing

2008-08-02 Thread Tushar Madhukar
Hi, One clarification - do you want the cache init to take place at the start of the container OR your web application? In the former case, you can implement the org.apache.catalina.LifecycleListener interface and nest a Listener element in the appropriate Connector element in server.xml In the

Initializing classes in shared/lib

2008-04-11 Thread Tushar Madhukar
Hi, I have some utility classes in $tomcat/shared/lib directory, which are used by several webapps. These need to be initialized before any of my webapps are called by the client. One of these shared classes gets a reference to its class loader, by calling

Re: Finalizing classes in common or shared directories

2008-03-17 Thread Tushar Madhukar
Thanx, Chris. Looks like this should solve my purpose. Will check it out and get back. Regards On Fri, Mar 14, 2008 at 8:17 PM, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tushar, Tushar Madhukar wrote: | Is there a way by which Tomcat can

Finalizing classes in common or shared directories

2008-03-14 Thread Tushar Madhukar
Hello, I have several contexts running in Tomcat(5.5.23), which use some common utilities. Classes for these utilities are in shared/ directory of the Catalina installation. Is there a way by which Tomcat can invoke a callback on these classes (shared/*) when it is shutting down? I need this to