Linux – Tomcat fails to start, no logs or error provided

centoslinuxtomcat

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script).

When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no other information provided. The date on catalina.out changes but it has no contents and is 0 bytes. logging.conf has not been edited and everything is marked as FINE detail.

Has anyone experienced this and know of a solution? Or, failing that, how can I get some log/error info from tomcat to try to pinpoint the issue?

Best Answer

I once had a similar issue on Ubuntu, tomcat did not start because of problems with the java security manager. In the sysconfig settings file there is a TOMCAT_SECURITY setting, if that is available, set it to 'no'. Usually the file lives in /etc/sysconfig on CentOS, not sure if it is named tomcat5, though, could be j2ee or similar.

Related Topic