Mark, > -----Original Message----- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Sunday, October 13, 2013 5:17 PM > To: Tomcat Developers List > Subject: Re: svn commit: r1531680 - > /tomcat/tc7.0.x/trunk/webapps/examples/WEB-INF/web.xml
> > OK, can you give me a hint why buildbot fails? > > The SCI doesn't run when using the Tomcat class which is used by the > unit tests. The unit tests that need WebSocket support explicitly enable it. > > Annotations are processed so changing metadata-complete means the > listener is fired in a number of places where WebSocket is not available. > > The examples should not require metadata-complete="false" OK, thank you. The reason I changed the metadata-complete to "false" is that otherwise with Tomcat 7, the "EchoEndpoint" and "DrawboardEndpoint" would not be deployed so these examples would not work. In Tomcat 8 the examples Webapp has metadata-complete="false" so I thought it would be as simple to make the same change in Tomcat7's example web.xml. I guess when setting metadata-complete="true", one would have to add the two WsConfigListeners to the web.xml, but I guess that would not fix the failures. > Implementing a ServerEndpointConfig and letting the SCI deploy it would > be an alternative option. I'm sorry as I do not have enough knowledge of the various servlet specs to fix this correctly - are you able to do it? Thanks! Regards, Konstantin Preißer --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org