You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Glenn Nielsen <gl...@voyager.apg.more.net> on 2001/03/08 02:36:04 UTC
Tomcat 4 server.xml bug
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 | */ |
----------------------------------------------------------------------