Konstantin,Thanks this has fixed it for me. > > I've recently upgraded some of our tomcats from 7.0.47 to 7.0.50. > > After upgrading I got lots of the below errors recorded in catalina.out > > The errors are not logged if I disable tldValidation (either by settings > > tldValidation=false in context.xml or removing the CATALINA_OPTS property: > > org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true . > > The errors occur in a number of applications, here is the beginning of one > > of the TLD files that seems to cause this issue:<?xml version="1.0" > > encoding="UTF-8" ?> > > <taglib xmlns="http://java.sun.com/xml/ns/j2ee" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > > web-jsptaglibrary_2_0.xsd" version="2.0"> > > Does anyone know:- Why this occurs only since 7.0.50- Where the root issue > > is likely to be / how to fix it- Are there any significant downsides to > > turning off tldValidation- The errors don't appear to have stopped things > > working, can they be safely ignored > > Any advice / help would be greatly appreciated. > > Thanks,Paul > > What version of PsiProbe you are using? > > I am reproducing this with psi-probe 2.3.3 and > org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true
I'm also using psi-probe 2.3.3. > > Jan 20, 2014 7:15:29 AM org.apache.tomcat.util.digester.Digester error > > SEVERE: Parse Error at line 6 column 19: ... > > Note the first of the above two lines. > It says class and method that reported the error. > Each error is reported twice: > a) by Digester > b) by whatever component has called Digester. > The reports from Digester are useless here, because they do not > mention what XML file has the problem. So I added the following line > to logging.properties to silence them: > > org.apache.tomcat.util.digester.Digester.level=OFF > > > Jan 20, 2014 7:15:30 AM org.apache.tomcat.util.descriptor.XmlErrorHandler > > logFindings > > WARNING: Warning [schema_reference.4: Failed to read schema document > > 'web-jsptaglibrary_2_0.xsd', because 1) could not find the document; 2) the > > document could not be read; 3) the root element of the document is not > > <xsd:schema>.] reported processing > > [jar:file:/tomcat/webapps/psi-probe/WEB-INF/lib/standard-1.1.0.jar!/META-INF/x.tld]. > > The above message says that the problem is with TLD files in > standard-1.1.0.jar. > > I see no issue with probe.tld. Sorry, my mistake. I didn't know what was causing the error, so simply grepped through the webapp to find any reference to jsptaglibrary_2_0.xsd , and that was the only file that seemed to reference it. > If I replace "jstl-1.1.0.jar" and "standard-1.1.0.jar" > with version 1.1.2 of the same JSTL library (from > examples/WEB-INF/lib of 7.0.52), > the problem goes away. > > Those can be obtained from Maven, or from archives here: > http://archive.apache.org/dist/jakarta/taglibs/standard/binaries/ > > > PsiProbe starts, but fails later when I access any JSP page, with > "org.apache.jasper.JasperException: XML parsing error on file > org.apache.tomcat.util.scan.MergedWebXml: (line 16, col 22)" > > That is a known issue that is already fixed in 7.0.x. > > The workaround is to update web.xml to a later version of > specification. E.g. copy <web-app> element tag from conf/web.xml. > > After that psi-probe works successfully. > > > Best regards, > Konstantin Kolinko Thanks,Paul