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

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
(In reply to Dave Syer from comment #2)
> Maybe this is relevant. When I try to add the WsListener to an embedded
> Tomcat I get this:

That looks to be a different issue. There are examples of how to do this
without hitting the restriction imposed by Servlet 3.0 / Section 4.4 in the
Tomcat unit tests. Essentially, you need to do this:

ctx.addApplicationListener(new ApplicationListener(WsListener.class.getName(),
false));


The restriction on programmtic deployment is enforced in
WsServerContainer.addEndpoint(ServerEndpointConfig)

-- 
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