Red Hat Bugzilla – Bug 175268
Missing symlinks from java-1.4.2-ibm-devel cause tomcat5 installation to fail
Last modified: 2008-05-01 11:39:17 EDT
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):
Steps to Reproduce:
1. Install java-1.4.2-ibm-188.8.131.52-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.
Installing the package java-1.4.2-ibm-devel-184.108.40.206-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.