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
element in the appropriate element in server.xml
In the latter case, imple
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 Thread.currentThread().getContextClassLoa
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:
>
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 pe