Bugzilla – Bug 129641
Tomcat fails to start
Last modified: 2005-11-25 16:32:17 UTC
When installed tomcat fails to start. The problem is that the default JAVA_HOME in catalina.sh is /usr/lib/java. In Suse 9.3 this was a symbolic link to /usr/lib/jvm/java, which is the correct place. In my Suse 10 retail install (KDE plus java) /usr/lib/java is a directory containing libreadline-java-0.8.0.jar.
related to bug #121940
Thanks for the report. Right now, I can't recreate the problem. On my computer (and on others) /usr/lib/java contains bin include jre lib which should be alright. Could you give me more information of which Java you exactly installed (version & vendor (sun / ibm / bea) ... please use output from: rpm -qa | grep -i java | grep -i "\(sun\|ibm\|bea\)" Did you cleanly install SUSE 10.0 or update from 9.3? Which version of tomcat do you exactly use? Please use output from rpm -qa | grep -i tomcat These infos could help me solving the problem. Thanks, Daniel
This was a fresh install of Suse 10, not an upgrade. dale@gordon:~> rpm -qa | grep -i java | grep -i "\(sun\|ibm\|bea\)" java-1_4_2-sun-jdbc-1.4.2.06-5 jakarta-commons-beanutils-javadoc-1.7.0-7 java-1_4_2-sun-alsa-1.4.2.06-5 java-1_4_2-sun-demo-1.4.2.06-5 java-1_4_2-sun-src-1.4.2.06-5 java-1_4_2-sun-1.4.2.06-5 java-1_4_2-sun-devel-1.4.2.06-5 java-1_4_2-sun-plugin-1.4.2.06-5 dale@gordon:~> rpm -qa | grep -i tomcat tomcat5-webapps-5.0.30-6 struts-webapps-tomcat5-1.2.4-5 tomcat5-admin-webapps-5.0.30-6 tomcat5-5.0.30-6
Sorry, you were right. I just installed the Java stuff in a clean environment and had the same problem. To be sure I will fix the tomcat package (let it point to /usr/lib/jvm/java) and the Java packages as well. Thanks for the infos, Regards, Daniel
Patched catalina.sh so that it detects erroneous JAVA_HOME variable.