commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramu Srinivasan <ramu.sriniva...@gmail.com>
Subject LogConfigurationException NullPointerException
Date Thu, 03 Nov 2005 01:27:41 GMT
Hi,

I am using ant to build my EAR which is deployed in WAS 5.1. Log4J isn't 
getting initialized and I get the following exception. But it works file when 
I build the EAR file with WASAD. At one point, I know it was working with ANT 
build. Any help on this will be appreciated. Thanks in advance.

Ramu


[11/2/05 14:01:59:565 CST] 7c569bce SystemErr     R 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: 
java.lang.NullPointerException
[11/2/05 14:01:59:565 CST] 7c569bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance
(LogFactoryImpl.java:532)
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance
(LogFactoryImpl.java:272)
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance
(LogFactoryImpl.java:246)
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
org.apache.commons.logging.LogFactory.getLog(LogFactory.java(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
org.quartz.simpl.SimpleThreadPool.getLog(SimpleThreadPool.java:130)
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:502)
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R Caused by: 
org.apache.commons.logging.LogConfigurationException: 
java.lang.NullPointerException
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor
(LogFactoryImpl.java:416)
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance
(LogFactoryImpl.java:525)
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	... 5 more
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R Caused by: 
java.lang.NullPointerException
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
com.ibm.ws.classloader.SinglePathClassProvider.getRealResourcePath
(SinglePathClassProvider.java(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
com.ibm.ws.classloader.SinglePathClassProvider$1.run
(SinglePathClassProvider.java(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java
(Inlined Compiled Code))
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
com.ibm.ws.classloader.SinglePathClassProvider.getClassBytesFromDir
(SinglePathClassProvider.java(Inlined Compiled Code))
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
com.ibm.ws.classloader.SinglePathClassProvider.getClassBytes
(SinglePathClassProvider.java(Inlined Compiled Code))
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java
(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java
(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:460)
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
java.security.AccessController.doPrivileged(Native Method)
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.loadClass
(LogFactoryImpl.java:454)
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor
(LogFactoryImpl.java:406)
[11/2/05 14:01:59:581 CST] 7c569bce SystemErr     R 	... 6 more
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: 
java.lang.NullPointerException
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance
(LogFactoryImpl.java:532)
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance
(LogFactoryImpl.java:272)
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance
(LogFactoryImpl.java:246)
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
org.apache.commons.logging.LogFactory.getLog(LogFactory.java(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
org.quartz.simpl.SimpleThreadPool.getLog(SimpleThreadPool.java:130)
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:502)
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R Caused by: 
org.apache.commons.logging.LogConfigurationException: 
java.lang.NullPointerException
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor
(LogFactoryImpl.java:416)
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance
(LogFactoryImpl.java:525)
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	... 5 more
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R Caused by: 
java.lang.NullPointerException
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
com.ibm.ws.classloader.SinglePathClassProvider.getRealResourcePath
(SinglePathClassProvider.java(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
com.ibm.ws.classloader.SinglePathClassProvider$1.run
(SinglePathClassProvider.java(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java
(Inlined Compiled Code))
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
com.ibm.ws.classloader.SinglePathClassProvider.getClassBytesFromDir
(SinglePathClassProvider.java(Inlined Compiled Code))
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
com.ibm.ws.classloader.SinglePathClassProvider.getClassBytes
(SinglePathClassProvider.java(Inlined Compiled Code))
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java
(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java
(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:460)
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
java.security.AccessController.doPrivileged(Native Method)
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.loadClass
(LogFactoryImpl.java:454)
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor
(LogFactoryImpl.java:406)
[11/2/05 14:01:59:581 CST] 7c525bce SystemErr     R 	... 6 more
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: 
java.lang.NullPointerException
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance
(LogFactoryImpl.java:532)
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance
(LogFactoryImpl.java:272)
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance
(LogFactoryImpl.java:246)
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
org.apache.commons.logging.LogFactory.getLog(LogFactory.java(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
org.quartz.simpl.SimpleThreadPool.getLog(SimpleThreadPool.java:130)
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:502)
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R Caused by: 
org.apache.commons.logging.LogConfigurationException: 
java.lang.NullPointerException
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor
(LogFactoryImpl.java:416)
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance
(LogFactoryImpl.java:525)
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	... 5 more
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R Caused by: 
java.lang.NullPointerException
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
com.ibm.ws.classloader.SinglePathClassProvider.getRealResourcePath
(SinglePathClassProvider.java(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
com.ibm.ws.classloader.SinglePathClassProvider$1.run
(SinglePathClassProvider.java(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java
(Inlined Compiled Code))
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
com.ibm.ws.classloader.SinglePathClassProvider.getClassBytesFromDir
(SinglePathClassProvider.java(Inlined Compiled Code))
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
com.ibm.ws.classloader.SinglePathClassProvider.getClassBytes
(SinglePathClassProvider.java(Inlined Compiled Code))
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java
(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java
(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl$1.run(LogFactoryImpl.java:460)
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
java.security.AccessController.doPrivileged(Native Method)
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.loadClass
(LogFactoryImpl.java:454)
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor
(LogFactoryImpl.java:406)
[11/2/05 14:01:59:581 CST] 7c4f1bce SystemErr     R 	... 6 more
[11/2/05 14:01:59:581 CST] 7c48dbce SystemErr     R 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: 
java.lang.NullPointerException
[11/2/05 14:01:59:581 CST] 7c48dbce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance
(LogFactoryImpl.java:532)
[11/2/05 14:01:59:581 CST] 7c48dbce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance
(LogFactoryImpl.java:272)
[11/2/05 14:01:59:581 CST] 7c48dbce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance
(LogFactoryImpl.java:246)
[11/2/05 14:01:59:581 CST] 7c48dbce SystemErr     R 	at 
org.apache.commons.logging.LogFactory.getLog(LogFactory.java(Compiled Code))
[11/2/05 14:01:59:581 CST] 7c48dbce SystemErr     R 	at 
org.quartz.simpl.SimpleThreadPool.getLog(SimpleThreadPool.java:130)
[11/2/05 14:01:59:581 CST] 7c48dbce SystemErr     R 	at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:502)
[11/2/05 14:01:59:581 CST] 7c48dbce SystemErr     R Caused by: 
org.apache.commons.logging.LogConfigurationException: 
java.lang.NullPointerException
[11/2/05 14:01:59:581 CST] 7c48dbce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor
(LogFactoryImpl.java:416)
[11/2/05 14:01:59:581 CST] 7c48dbce SystemErr     R 	at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance
(LogFactoryImpl.java:525)
[11/2/05 14:01:59:581 CST] 7c48dbce SystemErr     R 	... 5 more



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


Mime
View raw message