No JAVA_HOME specified in @@@TCCONF@@@/tomcat5.conf and no java found, exiting...

  • 7005686
  • 06-Apr-2010
  • 30-Apr-2012

Environment

Tomcat5
Novell Tomcat5

Situation

Tomcat will not start after installation of application or updates etc..

The following error is found in the /var/opt/novell/tomcat5/logs/start.log:

No JAVA_HOME specified in @@@TCCONF@@@/tomcat5.conf and no java found, exiting...

Resolution

Edit the /etc/sysconfig/j2ee file and add a path to a JVM under JAVA_HOME=""

## Path:  Network/WWW/J2EE/Tomcat
## Type:  string
## Default: ""
#
# Must point at your Java Development Kit installation or left empty
#
JAVA_HOME="/usr/lib/jvm/java-1.5.0-ibm"