Tomcat on Suse10.0 - won't start
Posted on 2006-04-08
Trying to get Tomcat running on SUSE 10. After a bit of pain I have finally got it installed, I have got it enabled, but when I try to start it in YAST I get the following message:
"/etc/init.d/tomcat5 start returned 7 (program is not running):
Starting Tomcat (/usr/share/tomcat5)..failed"
So I checked /var/log/tomcat5/base/start.log and found this single line:
"No JAVA_HOME specified in @@@TCCONF@@@/tomcat5.conf and no java found, exiting..."
Anywho, I didn't have a JAVA_HOME environment set, so I set one, but didn't seem to make any difference - I'm thinking it needs to be in the tomcat5.conf file, but I can't find that anywhere on my system.
I set JAVA_HOME to: /usr/java/j2sdk1.4.2_11 - java commands are working just fine on the command line.
'java -version' gives me this: java version "1.5.0_03"