Bug 129641 - Tomcat fails to start
Summary: Tomcat fails to start
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Java (show other bugs)
Version: RC 4
Hardware: x86-64 SuSE Linux 10.0
: P5 - None : Critical
Target Milestone: ---
Assignee: Daniel Bornkessel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-20 07:19 UTC by Dale Ogilvie
Modified: 2005-11-25 16:32 UTC (History)
0 users

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dale Ogilvie 2005-10-20 07:19:14 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.
Comment 1 Thomas Schmidt 2005-11-22 14:45:35 UTC
related to bug #121940
Comment 2 Daniel Bornkessel 2005-11-23 12:35:45 UTC
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
Comment 3 Dale Ogilvie 2005-11-24 06:39:24 UTC
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
Comment 4 Daniel Bornkessel 2005-11-25 10:11:50 UTC
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
Comment 5 Daniel Bornkessel 2005-11-25 16:32:17 UTC
Patched catalina.sh so that it detects erroneous JAVA_HOME variable.