我正在尝试让一个示例WebSocket应用程序在开发模式下运行在带有Jetty7.5的grails 2.0上。我生成了一个简单的AtmosphereHandler,但每当我尝试通过WebSocket连接时,都会收到以下错误消息:
E
rror 2011-11-24 17:18:32,075 ["http-bio-8080"-exec-4] ERROR [/jet2].[StratosphereServlet] - Servlet.service() for servlet [StratosphereServlet] in context with path [/jet2] threw exception
Message: null
Line | Method
->> 197 | upgrade in org.eclipse.jetty.websocket.WebSocketFactory
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 320 | acceptWebSocket in ''
| 78 | service . . . . in org.eclipse.jetty.websocket.WebSocketServlet
| 26 | doFilter in org.grails.plugin.resource.DevModeSanityFilter
| 886 | runTask . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 619 | run . . . . . . in java.lang.Thread任何关于这个问题的建议都是非常感谢的。最好的祝福,彼得,瑞士
发布于 2011-11-25 04:11:24
问题似乎出在Grails插件上,因为我在堆栈跟踪中看不到Atmosphere类。感谢您填写问题https://bitbucket.org/bgoetzmann/grails-atmosphere-plugin/issue/4/grails-20-atmosphere-and-websockets
https://stackoverflow.com/questions/8260062
复制相似问题