Re: Lifecycle listener class loading problem

2006-04-05 Thread Simon Watson
rc <[EMAIL PROTECTED]> wrote: > Then just for kicks, place it in the server/classes directory and also the > shared/classes directory. > > -----Original Message- > From: Simon Watson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 05, 2006 1:29 PM > To: Tomcat Use

Re: Lifecycle listener class loading problem

2006-04-05 Thread Simon Watson
ass in the COMMON folder so both your webapps > and TOMCAT itself can see it. However, you will have to dig through the docs > on Tomcat and see what parameter (probably in the server.xml) file you will > have to set to use your LifeCycleListener class instead of TOMCAT's. > >

Lifecycle listener class loading problem

2006-04-05 Thread Simon Watson
I'm trying to implement a lifecycle listener to initialise and, more importantly, shutdown a resource that I wish to access from multiple webapps. If I put my listener class in common/classes then I get an error on startup: SEVERE: Begin event threw error java.lang.NoClassDefFoundError: org/apache