Hello,

I implemented org.apache.catalina.LifecycleListener and registered it in server.xml in 
the following way:

<Context path="/myapp" ...>
  ...
  <Listener className="mypackage.MyListener"/>
  ...
</Context>

Naturally mypackage.MyListener is in my webapp but it seems that when server.xml is 
being parsed on tomcat startup my listener class is not accessible from catalina side. 
and i get a classNotFound Exception.

I feel there is something very messy with the class loading going on in tomcat side.

Does anybody have an idea/examople how to implement a 
org.apache.catalina.LifecycleListener and to use it in server.xml ?

Thanks,
Adi





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to