logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1127) log4j2.xml cannot be parsed on Oracle Weblogic 12c
Date Tue, 22 Sep 2015 17:30:04 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14903039#comment-14903039
] 

Gary Gregory commented on LOG4J2-1127:
--------------------------------------

Firat,

I have a patch for this in our 2.4.1 snapshots here:  https://repository.apache.org/content/repositories/snapshots/org/apache/logging/log4j/

Git you give it a try? You can also use our Git master sources.

Gary

> log4j2.xml cannot be parsed on Oracle Weblogic 12c
> --------------------------------------------------
>
>                 Key: LOG4J2-1127
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1127
>             Project: Log4j 2
>          Issue Type: Wish
>          Components: Configurators
>    Affects Versions: 2.3
>         Environment: Weblogic 12c
>            Reporter: Fırat Salgür
>
> When using log4j2.xml configuration file with Oracle Weblogic12c runtime, I get the following
error:
> {noformat}
> weblogic.application.ModuleException: java.lang.UnsupportedOperationException:  setXIncludeAware
is not supported on this JAXP implementation or earlier: class oracle.xml.jaxp.JXDocumentBuilderFactory
> 	at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
> 	at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
> 	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
> 	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
> 	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
> 	Truncated. see log file for complete stacktrace
> Caused By: java.lang.UnsupportedOperationException:  setXIncludeAware is not supported
on this JAXP implementation or earlier: class oracle.xml.jaxp.JXDocumentBuilderFactory
> 	at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:614)
> 	at weblogic.xml.jaxp.RegistryDocumentBuilder.setupDocumentBuilderFactory(RegistryDocumentBuilder.java:450)
> 	at weblogic.xml.jaxp.RegistryDocumentBuilder.getDefaultDocumentBuilderFactory(RegistryDocumentBuilder.java:414)
> 	at weblogic.xml.jaxp.RegistryDocumentBuilder.getDocumentBuilder(RegistryDocumentBuilder.java:325)
> 	at weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:153)
> 	Truncated. see log file for complete stacktrace
> > 
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message