Hi All,
I am trying to add a new application(context). What I havedone so far is 1. Create an new Directory structure identicalto
Tomcat's examples/WEB-INF/classes and compiledmy
Servlet code into this directory. 2. Am now attempting to modify the Servler.xml file toadd the new context. Mainly by cutting and pasting fromthe examples Context tag but changing references from examples toApp1. Bring up Tomcat - comes up ok but gives the followingerror log containing: 2001-10-17 09:44:59 WebappLoader[/App1]: Deploying class repositories to work directory C:\Program Files\Apache Tomcat 4.0\work\localhost\App1
2001-10-17 09:44:59 WebappLoader[/App1]: Reloading checks are enabled for this Context
2001-10-17 09:44:59 StandardManager[/App1]: Seeding random number generator class java.security.SecureRandom
2001-10-17 09:44:59 StandardManager[/App1]: Seeding of random number generator has been completed
2001-10-17 09:44:59 ContextConfig[/App1]: Configured an authenticator for method FORM
2001-10-17 09:44:59 StandardContext[/App1]: Error configuring application listener of class listeners.ContextListener
java.lang.ClassNotFoundException: listeners.ContextListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1264)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1113)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3168)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3385)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:218) 2001-10-17 09:44:59 StandardContext[/App1]: Error configuring application listener of class listeners.SessionListener
java.lang.ClassNotFoundException: listeners.SessionListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1264)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1113)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3168)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3385)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:218) 2001-10-17 09:44:59 StandardContext[/App1]: Skipped installing application listeners due to previous error(s)
2001-10-17 09:44:59 StandardContext[/App1]: Context startup failed due to previous errors Has anyone seen this before, or know what I've done wrong