2014-02-18 12:15 GMT+01:00 Mark Thomas <ma...@apache.org>: > On 18/02/2014 11:06, Romain Manni-Bucau wrote: >> 2014-02-18 11:54 GMT+01:00 Mark Thomas <ma...@apache.org>: >>> Yet again, please don't top post. >>> >>> On 18/02/2014 10:21, Romain Manni-Bucau wrote: >>>> edit: org.apache.jasper.compiler.JspConfig#processWebDotXml validates >>>> the xml immediately and doesn't read the version from WebXml - from >>>> ContextConfig with getMajorVersion, getMinorVersion methods >>> >>> Which Tomcat release are you referring to? >> >> 7.0.52 >> >>> >>> What has Jasper's processing of web.xml (which is looking at a sub-set >>> of configuration that doesn't include async support) got to do with this >>> issue? >>> >> >> I got it from JspConfig: > > Got what from JspConfig?
the previous stack: INFO: <html><head><title>Apache Tomcat (TomEE)/7.0.52 (1.6.1-SNAPSHOT) - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - org.apache.jasper.JasperException: XML parsing error on file org.apache.tomcat.util.scan.MergedWebXml: (line 13, col 22)</h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u>org.apache.jasper.JasperException: XML parsing error on file org.apache.tomcat.util.scan.MergedWebXml: (line 13, col 22)</u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>org.apache.jasper.JasperException: org.apache.jasper.JasperException: XML parsing error on file org.apache.tomcat.util.scan.MergedWebXml: (line 13, col 22) org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:230) org.apache.jasper.compiler.JspConfig.init(JspConfig.java:243) org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:302) > > And how does this relate to an issue with async processing? > >> basically deactivated tldValidation to make it passing > > That doesn't surprise me. The Servlet TCK won't pass either unless > tldValidation is disabled. The specs don't mandate tldValidation so > disabling it for the TCKs should be OK. > >>>>> it is used in tcks and seems broken now >>> >>> Which TCK? With which Tomcat version? >> >> CDI TCKs (didnt check JavaEE ones yet) > > I don't understand how TLD validation is triggering a problem with async > (unless a whole web application is failing to start) and I'd like to. If > disabling TLD validation enables the TCK to pass then I don't see an > issue with doing that. me neither seems tomcat is parsing web.xml using tld validation property > > Mark > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org