Tomcat5 service isn’t starting

Created:

2016-11-16 12:47:15 UTC

Modified:

2017-04-24 12:11:46 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Tomcat5 service isn’t starting

Applicable to:

  • Plesk for Linux

Symptoms

Tomcat5 service isn’t starting even though it says it does.There are no java processes running.

[root@dom ~]# service tomcat5 status
lock file found but no process running for pid 461477
[root@dom ~]# service tomcat5 start
Starting tomcat5: lock file found but no process running for
pid 461477, continuing
[ OK ]
[root@dom ~]# service tomcat5 status
lock file found but no process running for pid 729562

The '/var/log/tomcat5-initd.log' file contains alike entries:

...
WARNING: error instantiating 'org.apache.juli.ClassLoaderLogManager' referenced by java.util.logging.manager, class not found
java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager not found
<<No stacktrace available>>
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>>
Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JRE_HOME:

Cause

CentOS 5 Bug: http://bugs.centos.org/view.php?id=6186

Resolution

  1. Disable the Tomcat component which causes the problem:

    mv /usr/share/tomcat5/bin/tomcat-juli.jar{,.disabled}
  2. Install java-1.6.0-openjdk-devel and higher.

Have more questions? Submit a request
Please sign in to leave a comment.