tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <ahardy.str...@cyberspaceroad.com>
Subject Re: simple context problems
Date Sun, 14 Dec 2003 12:46:56 GMT
On 12/12/2003 03:53 PM Ioannis Themelidis wrote:
> Hello,
> I have a problem with Apache Tomcat/4.1.24.I created an application and i 
> want to put it in adirectory "/reminder" in webapps.I created a context 
> using the administrator application and nothing worked.i also tried it 
> manually in the server.xml file,by copying and configuring another context 
> like /examples or /manager.Nothing works.In the log i get the following 
> error :
> 
> 2003-12-12 16:13:18 WebappLoader[/reminder]: Deploying class repositories to 
> work directory C:\Program Files\Apache Group\Tomcat 4.1
> \work\Standalone\localhost\reminder
> 2003-12-12 16:13:18 WebappLoader[/reminder]: Deploy class files /WEB-
> INF/classes to C:\Program Files\Apache Group\Tomcat 4.1\webapps\reminder\WEB-
> INF\classes
> 2003-12-12 16:13:18 WebappLoader[/reminder]: Reloading checks are enabled 
> for this Context
> 2003-12-12 16:13:18 ContextConfig[/reminder]: Configured an authenticator 
> for method FORM
> 2003-12-12 16:13:18 StandardManager[/reminder]: Seeding random number 
> generator class java.security.SecureRandom
> 2003-12-12 16:13:18 StandardManager[/reminder]: Seeding of random number 
> generator has been completed
> 2003-12-12 16:13:18 StandardContext[/reminder]: Error configuring 
> application listener of class listeners.ContextListener
> java.lang.ClassNotFoundException: listeners.ContextListener
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass
> (WebappClassLoader.java:1443)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass
> (WebappClassLoader.java:1289)
> 	at org.apache.catalina.core.StandardContext.listenerStart
> (StandardContext.java:3236)
> 	at org.apache.catalina.core.StandardContext.start
> (StandardContext.java:3598)
> 	at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1188)
> 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
> 	at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1188)
> 	at org.apache.catalina.core.StandardEngine.start
> (StandardEngine.java:347)
> 	at org.apache.catalina.core.StandardService.start
> (StandardService.java:497)
> 	at org.apache.catalina.core.StandardServer.start
> (StandardServer.java:2190)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> 	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> 	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> 
> 2003-12-12 16:13:18 StandardContext[/reminder]: Error configuring 
> application listener of class listeners.SessionListener
> java.lang.ClassNotFoundException: listeners.SessionListener
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass
> (WebappClassLoader.java:1443)
> 	at org.apache.catalina.loader.WebappClassLoader.loadClass
> (WebappClassLoader.java:1289)
> 	at org.apache.catalina.core.StandardContext.listenerStart
> (StandardContext.java:3236)
> 	at org.apache.catalina.core.StandardContext.start
> (StandardContext.java:3598)
> 	at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1188)
> 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
> 	at org.apache.catalina.core.ContainerBase.start
> (ContainerBase.java:1188)
> 	at org.apache.catalina.core.StandardEngine.start
> (StandardEngine.java:347)
> 	at org.apache.catalina.core.StandardService.start
> (StandardService.java:497)
> 	at org.apache.catalina.core.StandardServer.start
> (StandardServer.java:2190)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> 	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> 	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> 
> 2003-12-12 16:13:18 StandardContext[/reminder]: Skipped installing 
> application listeners due to previous error(s)
> 2003-12-12 16:13:18 StandardContext[/reminder]: Context startup failed due 
> to previous errors
> 
> Have any idias?

Ioannis,
this is a puzzling problem. It's obviously looking for the class 
listeners.ContextListeners but this is a completely unknown class to me. 
It's not part of tomcat 4 or 5. Perhaps it's in tomcat 3? Was your app 
written for tomcat 3?

You should try a completely new install of tomcat and just place your 
application deploy directory in webapps. Don't worry about a context for 
now, just check to see that the context is created by default, as it 
should be due to its presence in /webapps/

Hope you get somewhere with that.
Adam

-- 
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message