Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7F24C10308 for ; Sun, 13 Oct 2013 15:51:02 +0000 (UTC) Received: (qmail 11984 invoked by uid 500); 13 Oct 2013 15:50:58 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 11909 invoked by uid 500); 13 Oct 2013 15:50:58 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 11900 invoked by uid 99); 13 Oct 2013 15:50:57 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Oct 2013 15:50:57 +0000 Received: from localhost (HELO NamePC) (127.0.0.1) (smtp-auth username kpreisser, mechanism login) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Oct 2013 15:50:57 +0000 From: =?UTF-8?Q?Konstantin_Prei=C3=9Fer?= To: "'Tomcat Developers List'" References: <20131013123056.CD68C238896F@eris.apache.org> <525AA6E7.8080005@apache.org> <000b01cec821$3ea66010$bbf32030$@apache.org> <525AB97E.4050106@apache.org> <000d01cec828$a2903590$e7b0a0b0$@apache.org> In-Reply-To: <000d01cec828$a2903590$e7b0a0b0$@apache.org> Subject: RE: svn commit: r1531680 - /tomcat/tc7.0.x/trunk/webapps/examples/WEB-INF/web.xml Date: Sun, 13 Oct 2013 17:50:52 +0200 Message-ID: <000e01cec82c$014b9590$03e2c0b0$@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQHKuVHZLYXcFVREFwOlTHnS29S2swHy1RTLAQj51JMCjulrWgKLgd1qmboy/EA= Content-Language: de > -----Original Message----- > From: Konstantin Prei=C3=9Fer [mailto:kpreisser@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 >=20 > Mark, >=20 > 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=3D"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=3D"true", one would have to add = the > two WsConfigListeners to the web.xml, but I guess that would not fix = the > failures. >=20 > > Implementing a ServerEndpointConfig and letting the SCI deploy it = would > > be an alternative option. >=20 > 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=3D"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=C3=9Fer --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org