Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2012
    Posts
    6

    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

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,709
    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'.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •