Help needed for starting tomcat 6 in openSUSE 11.1

I have trouble starting tomcat on a new installation of openSUSE 11.1. Any suggestions will be appreciated. Here is what I did:

I went into System->System Services and selected expert mode. Then I picked tomcat6, clicked “Enable the service”, and “Start now”. I get a “success” message, but tomcat does not work. If I click “Refresh status”, I get the following error message:

/etc/init.d/tomcat6 status returned 2 (program is dead and /var/lock file exists)


There should be some log files in ~tomcat/logs. Read them.

I found the answer in a previous post. Seems to be a bug in the startup script. The JAVA_HOME variable needs to be set in file /etc/sysconfig/tomcat6 to point to the JRE, like this: