logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: ExceptionInInitializerError with JUL turned on
Date Tue, 20 Oct 2015 18:43:00 GMT
What version of Java and what version of Log4j?

Ralph

> On Oct 20, 2015, at 10:57 AM, Mike Calmus <mike@calmus.org> wrote:
> 
> I'm trying to add the log4j-jul jar to our configuration. I set the
> "java.util.logging.manager" system property as per the documentation in the
> server's startup configuration. When I try to start the server I get an
> ExceptionInInitialerError with the following:
> 
> Caused By: java.lang.IllegalStateException: ManagerFactory
> [org.apache.logging.log4j.core.net.JndiManager$JndiManagerFactory@1a0337b]
> unable to create manager for
> [org.apache.logging.log4j.core.net.JndiManager] with data [null]
> at
> org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:73)
> at
> org.apache.logging.log4j.core.net.JndiManager.getDefaultManager(JndiManager.java:52)
> at
> org.apache.logging.log4j.core.selector.JndiContextSelector.getContext(JndiContextSelector.java:111)
> at
> org.apache.logging.log4j.core.selector.JndiContextSelector.getContext(JndiContextSelector.java:97)
> at
> org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:141)
> at
> org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41)
> at org.apache.logging.log4j.LogManager.getContext(LogManager.java:185)
> at
> org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103)
> at
> org.apache.logging.log4j.jul.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:34)
> at
> org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42)
> at org.apache.logging.log4j.jul.LogManager.getLogger(LogManager.java:89)
> at java.util.logging.LogManager.demandLogger(LogManager.java:424)
> at java.util.logging.Logger.demandLogger(Logger.java:343)
> at java.util.logging.Logger.getLogger(Logger.java:390)
> at
> oracle.security.jps.internal.policystore.JavaPolicyProvider.<clinit>(JavaPolicyProvider.java:156)
> at java.lang.Class.forName0(Native Method)



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


Mime
View raw message