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)
ここで2つの質問をします...
1:このエラーの原因は何ですか?Google rlyは今回はあまり役に立ちません:S
2:Wicket-atmosphereを機能させる方法についての完全なガイド/チュートリアルはありますか?
私の質問で曖昧になるつもりはありませんが、ここで関連する可能性のある他の情報は本当にわかりません。
私の構成は、 Wicket雰囲気初期化例外からの投稿(およびリンク)で与えられたものとほとんど同じです