Bug 175268 - Missing symlinks from java-1.4.2-ibm-devel cause tomcat5 installation to fail
Missing symlinks from java-1.4.2-ibm-devel cause tomcat5 installation to fail
Status: NEW
Product: Red Hat Application Server
Classification: Retired
Component: tomcat (Show other bugs)
2.0
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Fernando Nasser
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-12-08 07:38 EST by Carsten Clasohm
Modified: 2008-05-01 11:39 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Carsten Clasohm 2005-12-08 07:38:17 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

Description of problem:
When installing tomcat5 from the Application Server channel, the %post script relies on /usr/lib/jvm-exports/java to exist. When using the java-1.4.2-ibm from the RHEL4 Extras channel, this path does not exist, resulting in a broken Tomcat installation.


Version-Release number of selected component (if applicable):
tomcat5-5.5.9-1jpp_5rh

How reproducible:
Always

Steps to Reproduce:
1. Install java-1.4.2-ibm-1.4.2.2-1jpp_10rh
2. Install tomcat5-5.5.9-1jpp_5rh


Actual Results:  During installation, you will get this error message:

/usr/bin/build-jar-repository: error: JVM_LIBDIR /usr/lib/jvm-exports/java does not exist or is not a directory
error: %post(tomcat5-5.5.9-1jpp_5rh.noarch) scriptlet failed, exit status 5

When you try to start the tomcat5 service, you will get this error message:

/usr/bin/rebuild-jar-repository: error: JVM_LIBDIR /usr/lib/jvm-exports/java does not exist or is not a directory


Expected Results:  The path /usr/lib/jvm-exports/java should be created by one of the packages that tomcat5 requires.


Additional info:

Installing the package java-1.4.2-ibm-devel-1.4.2.2-1jpp_10rh and then reinstalling tomcat5 fixes this problem, as java-1.4.2-ibm-devel provides a symbolic link for /usr/lib/jvm-exports/java. Either this symlink should be moved into java-1.4.2-ibm, or the package requirements of tomcat5 should be changed  to include java-1.4.2-ibm-devel.

Note You need to log in before you can comment on or make changes to this bug.