https://issues.apache.org/bugzilla/show_bug.cgi?id=55314

--- Comment #2 from Dave Syer <david_s...@hotmail.com> ---
Maybe this is relevant. When I try to add the WsListener to an embedded Tomcat
I get this:

2013-07-27 12:01:16.974 ERROR 31782 --- [ost-startStop-1]
o.a.c.c.C.[Tomcat].[localhost].[/]       : Exception sending context
initialized event to listener instance of class
org.apache.tomcat.websocket.server.WsListener

java.lang.UnsupportedOperationException: Section 4.4 of the Servlet 3.0
specification does not permit this method to be called from a
ServletContextListener that was not defined in web.xml, a web-fragment.xml file
nor annotated with @WebListener
    at
org.apache.catalina.core.StandardContext$NoPluggabilityServletContext.addFilter(StandardContext.java:6805)
    at
org.apache.tomcat.websocket.server.WsServerContainer.setServletContext(WsServerContainer.java:132)
    at org.apache.tomcat.websocket.server.WsSci.init(WsSci.java:131)
    at
org.apache.tomcat.websocket.server.WsListener.contextInitialized(WsListener.java:33)
    at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4838)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to