-
Tomcat6 error
Dear All,
We are getting the below error in catalina.out file. I using Tomcat6 with JDK1.6. But tomcat works fine and due to this warning message, size of catalina.out file is very high. Please suggest how to fix this Warning message.
WARNING: error instantiating '1catalina.org.apache.juli.FileHandler,' referenced by handlers, class not found
java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler,
<<No stacktrace available>>
Exception during runtime initialization
java.lang.ExceptionInInitializerError
<<No stacktrace available>>
Caused by: java.lang.NullPointerException
<<No stacktrace available>>
The classpath defined in bashrc file is shown below.
# User specific aliases and functions
PATH=/usr/java/jdk1.6.0_16/bin:$PATH
PATH=/usr/java/jdk1.6.0_16/lib:$PATH
JAVA_HOME=/usr/java/latest
JRE_HOME=/usr/java/latest/jre
CATALINA_HOME=/usr/local/tomcat6/
CATALINA_BASE=/usr/local/tomcat6/
export CLASSPATH=${JRE_HOME}/lib/ext
export CATALINA_HOME CATALINA_BASE JAVA_HOME JRE_HOME
export PATH
-
When tomcat starts up, does the java command line set the classpath to point to the tomcat6 lib directory? Also, the name '1catalina.org.apache.juli.FileHandler' seems bogus to me, so it is possible that your order of precidence for your jar files may be pulling in the wrong jars. In my tomcat6 installation, the juli.FileHandler class is in tomcat-juli.jar and the fully resolved name is 'org.apache.juli.FileHandler'.