Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Error parsing isc.tld file when starting Tomcat

    Hi Isomorphic,

    When starting Tomcat with org.apache.catalina.STRICT_SERVLET_COMPLIANCE=true, the following error message is logged.

    Code:
    16-Jan-2020 10:36:00.473 SEVERE [main] org.apache.tomcat.util.digester.Digester.error Parse error at line [6] column [17]
        org.xml.sax.SAXParseException; systemId: jar:file:/D:/tomcat9/webapps/***/WEB-INF/lib/isomorphic_core_rpc.jar!/META-INF/isc.tld; lineNumber: 6; columnNumber: 17; Document root element "taglib", must match DOCTYPE root "xml".
            at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:204)
            at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:135)
            at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:396)
            at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
            at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:284)
            at java.xml/com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.rootElementSpecified(XMLDTDValidator.java:1539)
            at java.xml/com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDValidator.java:1806)
            at java.xml/com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:728)
            at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:374)
            at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:613)
            at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3063)
            at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:836)
            at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
            at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
            at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:534)
            at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:888)
            at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:824)
            at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
            at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
            at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:635)
            at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1431)
            at org.apache.tomcat.util.descriptor.tld.TldParser.parse(TldParser.java:76)
            at org.apache.jasper.servlet.TldScanner.parseTld(TldScanner.java:279)
            at org.apache.jasper.servlet.TldScanner$TldScannerCallback.scan(TldScanner.java:313)
            at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:378)
            at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:191)
            at org.apache.jasper.servlet.TldScanner.scanJars(TldScanner.java:262)
            at org.apache.jasper.servlet.TldScanner.scan(TldScanner.java:104)
            at org.apache.jasper.servlet.JasperInitializer.onStartup(JasperInitializer.java:83)
            at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5132)
            at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    Should the <!DOCTYPE xml> be specified in the isc.tld file?

    Thanks

    #2
    Thanks for pointing this out. You should find your problem resolved with builds released Jan 18, 2020 and later.

    Comment


      #3
      This is resolved with the Jan 22, 2020 build. Thanks!

      Comment

      Working...
      X