You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/03/17 19:31:59 UTC
[Bug 54714] New: Examples webapp not starting anymore;
NoClassDefFoundError in listener start
https://issues.apache.org/bugzilla/show_bug.cgi?id=54714
Bug ID: 54714
Summary: Examples webapp not starting anymore;
NoClassDefFoundError in listener start
Product: Tomcat 8
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Examples
Assignee: dev@tomcat.apache.org
Reporter: nicholas@nicholaswilliams.net
Classification: Unclassified
When Tomcat starts, a listener on the examples webapp does not start properly.
The examples webapp is inaccessible. This changed within the last three or four
days. it was working last Tuesday.
stdout:
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Mar 17, 2013 1:22:11 PM org.apache.tomcat.util.net.NioSelectorPool
getSharedSelector
INFO: Using a shared selector for servlet write/read
Mar 17, 2013 1:22:11 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
Mar 17, 2013 1:22:11 PM org.apache.tomcat.util.net.NioSelectorPool
getSharedSelector
INFO: Using a shared selector for servlet write/read
Mar 17, 2013 1:22:11 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 642 ms
Mar 17, 2013 1:22:11 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Mar 17, 2013 1:22:11 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.0-dev
Mar 17, 2013 1:22:11 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software
Foundation\Tomcat 8.0\webapps\docs
Mar 17, 2013 1:22:12 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software
Foundation\Tomcat 8.0\webapps\examples
Mar 17, 2013 1:22:13 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Mar 17, 2013 1:22:13 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/examples] startup failed due to previous errors
Mar 17, 2013 1:22:13 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software
Foundation\Tomcat 8.0\webapps\host-manager
Mar 17, 2013 1:22:14 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software
Foundation\Tomcat 8.0\webapps\manager
Mar 17, 2013 1:22:14 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software
Foundation\Tomcat 8.0\webapps\ROOT
Mar 17, 2013 1:22:14 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
Mar 17, 2013 1:22:14 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
Mar 17, 2013 1:22:14 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3738 ms
localhost.2013-03-17.log:
Mar 17, 2013 1:22:13 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Mar 17, 2013 1:22:13 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Mar 17, 2013 1:22:13 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of
class websocket.echo.WsConfigListener
java.lang.NoClassDefFoundError:
org/apache/tomcat/websocket/server/ServerContainerImpl
at
websocket.echo.WsConfigListener.contextInitialized(WsConfigListener.java:33)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4769)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5210)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:698)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1056)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1611)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException:
org.apache.tomcat.websocket.server.ServerContainerImpl
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1465)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1310)
... 14 more
Mar 17, 2013 1:22:13 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Mar 17, 2013 1:22:13 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 54714] Examples webapp not starting anymore;
NoClassDefFoundError in listener start
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54714
Nick Williams <ni...@nicholaswilliams.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from Nick Williams <ni...@nicholaswilliams.net> ---
*sigh* well that was dumb of me.
The last few times I've compiled I've only copied the lib and bin directory
contents from the output directory to the directory I'm running from. I forgot
to copy the fresh webapps directory.
"Only try to realize the truth: there is no bug."
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 54714] Examples webapp not starting anymore;
NoClassDefFoundError in listener start
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54714
--- Comment #3 from Violeta Georgieva <vi...@apache.org> ---
websocket.echo.WsConfigListener has not been changed since 6th of March. Also
it does not use org.apache.tomcat.websocket.server.ServerContainerImpl anymore.
[1]
Please check your svn repository.
[1]
http://svn.apache.org/repos/asf/tomcat/trunk/webapps/examples/WEB-INF/classes/websocket/echo/WsConfigListener.java
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 54714] Examples webapp not starting anymore;
NoClassDefFoundError in listener start
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54714
--- Comment #1 from Violeta Georgieva <vi...@apache.org> ---
This should be fixed with r1453401
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 54714] Examples webapp not starting anymore;
NoClassDefFoundError in listener start
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54714
--- Comment #2 from Nick Williams <ni...@nicholaswilliams.net> ---
I am on r1457365. Not the latest (r1457800), admittedly (I can't go to latest
just yet), but it's newer than r1453401.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org