yrift / jwebsocket

Automatically exported from code.google.com/p/jwebsocket
0 stars 0 forks source link

java.lang.ClassNotFoundException: org.jwebsocket.appserver.ContextListener #153

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure tomcat in eclipse
2. configure jwebsocket demo war in eclipse
3.run the tomcat server

What is the expected output? What do you see instead?
I should see the jwebsocket war file running on my tomcat server
to see the demo, but its not working. 
http://localhost:8080/jWebSocketAppSrvDemo-0.9.0/
HTTP Status 404 - 

--------------------------------------------------------------------------------

type Status report

message 

description The requested resource () is not available.

What version of the product are you using? On what operating system?
Error configuring application listener of class 
org.jwebsocket.appserver.ContextListener

INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
Jan 15, 2012 3:57:04 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class 
org.jwebsocket.appserver.ContextListener
java.lang.ClassNotFoundException: org.jwebsocket.appserver.ContextListener
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4149)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
    at org.apache.catalina.core.StandardService.start(StandardService.java:525)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
    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:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jan 15, 2012 3:57:04 AM org.apache.catalina.core.StandardContext listenerStart

Original issue reported on code.google.com by bvhar...@gmail.com on 15 Jan 2012 at 10:02

GoogleCodeExporter commented 9 years ago
The jWebSocketAppServer.war requires the jWebSockerServer-Bundle.jar
as well as the jWebSocketSamples.jar to be located in Tomcat's /lib folder.
You can use the jWebSocket.xml configuration file either in Tomcat's /conf
folder or in %JWEBSOCKET_HOME%/conf.

Original comment by carlosLc...@gmail.com on 3 Feb 2012 at 6:24