> -----Original Message----- > From: Konstantin Preißer [mailto:kpreis...@apache.org] > Sent: Sunday, October 13, 2013 5:27 PM > To: 'Tomcat Developers List' > Subject: RE: svn commit: r1531680 - > /tomcat/tc7.0.x/trunk/webapps/examples/WEB-INF/web.xml > > Mark, > > 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?
I see now that the examples webapp will fail to start if runnint Tomcat 7 with Java6 and having metadata-complete="false" in the example's web.xml. Is it OK to add a null check in the example WsConfigListeners to prevent the errors when websocket is not available? Thanks, Konstantin Preißer --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org