Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-1577

javax.xml.parsers.ParserConfigurationException: SAX feature 'http://xml.org/sax/features/external-general-entities' not supported.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not a bug
    • Affects Version/s: None
    • Fix Version/s: 1.3.0-alpha14
    • Component/s: None
    • Labels:
      None

      Description

      thrown from oracle.xml.jaxp.JXSAXParserFactory, which is a part of the Oracle JDBC driver.

      Failed to auto configure default logger context
      Reported exception:
      ch.qos.logback.core.joran.spi.JoranException: Parser configuration error occurred
       at ch.qos.logback.core.joran.event.SaxEventRecorder.buildSaxParser(SaxEventRecorder.java:89)
       at ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:57)
       at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:151)
       at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
       at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53)
       at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
       at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
       at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
       at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
       at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
       at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
       at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417)
       at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362)
       at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388)
      [cut]
      Caused by: javax.xml.parsers.ParserConfigurationException: SAX feature 'http://xml.org/sax/features/external-general-entities' not supported.
       at oracle.xml.jaxp.JXSAXParserFactory.setFeature(JXSAXParserFactory.java:272)
       at ch.qos.logback.core.joran.event.SaxEventRecorder.buildSaxParser(SaxEventRecorder.java:82)
       ... 83 more
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ceki Ceki Gülcü
              Reporter:
              ceki Ceki Gülcü
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: