tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Nielsen <gl...@voyager.apg.more.net>
Subject Tomcat 4 server.xml <Listener ... /> bug
Date Thu, 08 Mar 2001 01:36:04 GMT
We are trying to implement a <Listener ... /> to be configured in
the Tomcat 4 server.xml within a <Context ... /> or <DefaultContext ... />.

When Tomcat starts up the Context and tries to add the Listener
Class a ClassNotFoundException is thrown for the org.apache.catalina.LifecycleListener 
interface which it has to implement in order to be a Listener.

Has anyone tried to implement and test a Listener recently in Tomcat 4?

org.apache.catalina.LifecycleListener is located in /server/lib/catalina.jar,
so the ClassLoader hierarchy is Server -> Common -> System -> Bootstrap.
I suspect the problem is that the code that tries to setup the Listener
is in the ClassLoader hierarchy Webapp -> Shared -> Common -> System -> Bootstrap.

Regards,

Glenn

----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

Mime
View raw message