Bug 1062253
Summary: | JBoss Cartridge needs to have dependency on both JDK 1.6 and JDK 1.7 packages. | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Eric Rich <erich> |
Component: | Containers | Assignee: | Brenton Leanhardt <bleanhar> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | low | ||
Version: | 2.2.0 | CC: | adellape, jialiu, libra-onpremise-devel, mmasters, tiwillia, xtian |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshift-origin-cartridge-jbosseap-2.26.3.1-1.el6op openshift-origin-cartridge-jbossews-1.34.3.1-1.el6op | Doc Type: | Bug Fix |
Doc Text: |
Previously, the java-1.6.0-openjdk package was not listed as a requirement for the JBoss EAP and JBoss EWS cartridges. This caused the 'java6' marker to not work appropriately if java-1.6.0-openjdk was not already installed on the system by other packages. This bug fix adds java-1.6.0-openjdk as a requirement to these cartridges to correct this issue.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-09-30 16:35:56 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Eric Rich
2014-02-06 14:18:25 UTC
I'm hesitant to add dependencies that many customers might not want. I do see a few possible improvements: * improve our documentation of the marker * improve the error output. We could probably detect if the jvm was available before trying to use it in the cartridge. If it doesn't exist print clear warning message on how to solve the problem (any possibily consider falling back to jdk7 in the meantime). We missed this one before, but this issue should be resolved by changes in the JBoss EAP and EWS cartridges we have tagged and built for OpenShift Enterprise 2.2.7. Verified this bug with 2.2/2015-09-23.1 puddle, and PASS. # rpm -qf /etc/alternatives/java_sdk_1.6.0/bin/java java-1.6.0-openjdk-devel-1.6.0.36-1.13.8.1.el6_7.x86_64 # rpm -qR openshift-origin-cartridge-jbossews-1.34.3.1-1.el6op.noarch|grep java java-1.6.0-openjdk java-1.6.0-openjdk-devel java-1.7.0-openjdk java-1.7.0-openjdk-devel # rpm -qR openshift-origin-cartridge-jbosseap-2.26.3.1-1.el6op.noarch|grep java java-1.6.0-openjdk java-1.6.0-openjdk-devel java-1.7.0-openjdk java-1.7.0-openjdk-devel java-1.8.0-openjdk java-1.8.0-openjdk-devel Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1844.html |