| Summary: | Too much of the websocket implementation is exposed to the webapp | ||
|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Greg Wilkins <gregw> |
| Component: | server | Assignee: | Simone Bordet <simone.bordet> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jetty-inbox |
| Version: | 7.5.0 | ||
| Target Milestone: | 7.5.x | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Greg Wilkins
Simone, I have committed a fix and tested briefly with cometd.war can you confirm and resolve this issue if all is OK. hmmm this appears to work for a cometd.war file, but not for the mvn jetty:run in cometd-demo ???? I have removed WebSocketServlet to be a non-server class, because I think it should always be loaded by the webapp classloader. I do not see any failure with jetty:run. Can you specify what errors you get ? Exposing only org.eclipse.jetty.websocket.WebSocket and org.eclipse.jetty.websocket.WebSocketFactory as system, non-server classes works fine for both war deployment and for the Jetty Maven Plugin. |