想在 Wicket 6 中试用新的 EventBus,但我无法让 Tomcat7 正确部署它......
任何类型的实现都会导致某种错误。最新的尝试是使用 wicket 1.6、Tomcat7 和 Wicket-atmosphere 0.3,我想我现在差不多了!
无论如何,当尝试部署模块时,我会从 Tomcat 获得“NoClassDefFound ...
dec 07, 2012 10:50:54 EM org.apache.catalina.loader.WebappClassLoader loadClass
Info: Illegal access: this web application instance has been stopped already. Could not load org.apache.catalina.websocket.WsOutbound. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to at
tempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1597)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at org.atmosphere.container.version.TomcatWebSocket.close(TomcatWebSocket.java:129)
at org.atmosphere.cpr.AtmosphereResponse$1.close(AtmosphereResponse.java:545)
at org.atmosphere.cpr.AsynchronousProcessor.cancelled(AsynchronousProcessor.java:568)
at org.atmosphere.container.BlockingIOCometSupport.cancelled(BlockingIOCometSupport.java:165)
at org.atmosphere.cpr.AsynchronousProcessor$AsynchronousProcessorHook.closed(AsynchronousProcessor.java:634)
at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:262)
at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:71)
at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:215)
at org.apache.catalina.websocket.StreamInbound.closeOutboundConnection(StreamInbound.java:197)
at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:161)
at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:83)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:583)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1770)
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)
dec 07, 2012 10:50:54 EM org.apache.coyote.AbstractProtocol$AbstractConnectionHandler process
Allvarlig: null
java.lang.NoClassDefFoundError: org/apache/catalina/websocket/WsOutbound
at org.atmosphere.container.version.TomcatWebSocket.close(TomcatWebSocket.java:129)
at org.atmosphere.cpr.AtmosphereResponse.close(AtmosphereResponse.java:785)
at org.atmosphere.cpr.AtmosphereResourceImpl.cancel(AtmosphereResourceImpl.java:830)
at org.atmosphere.websocket.DefaultWebSocketProcessor.close(DefaultWebSocketProcessor.java:272)
at org.atmosphere.container.TomcatWebSocketHandler.onClose(TomcatWebSocketHandler.java:71)
at org.apache.catalina.websocket.StreamInbound.doOnClose(StreamInbound.java:215)
at org.apache.catalina.websocket.StreamInbound.closeOutboundConnection(StreamInbound.java:197)
at org.apache.catalina.websocket.StreamInbound.onData(StreamInbound.java:161)
at org.apache.coyote.http11.upgrade.UpgradeProcessor.upgradeDispatch(UpgradeProcessor.java:83)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:583)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1770)
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)
有点想在这里问两个问题...
1:是什么导致这个错误?谷歌 rly 这次没有多大帮助:S
2:是否有关于如何让 Wicket-atmosphere 工作的完整指南/教程?
不要对我的问题含糊其辞,但我真的不知道还有哪些其他信息可以在这里相关。
我的配置与Wicket 气氛初始化异常的帖子(和链接)中给出的配置几乎相同