log4j NullPointerException on external TomCat
Deploying the unmodified Example Project to an externam TomCat 6.0 server gives the following exception after some time:
feb 24, 2012 3:24:05 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive ComputerBuilder.war log4j:WARN No appenders could be found for logger (org.hibernate.annotations.com mon.Version). log4j:WARN Please initialize the log4j system properly. number of entities: 9 Fri Feb 24 15:27:20 CET 2012: Optimizing search index started. Fri Feb 24 15:27:20 CET 2012: Optimizing search index finished succesfully. Exception in thread "Timer-0" java.lang.NullPointerException at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog. java:255) at com.mchange.v2.resourcepool.BasicResourcePool$CullTask.run(BasicResou rcePool.java:1934) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505)
However, the webapplication continues to function.
Submitted by D. Pelsmaeker on 24 February 2012 at 15:30
Log in to post comments