Bug 659710
| Summary: | IBM Java5 files modified & Missing | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | IBM Bug Proxy <bugproxy> |
| Component: | java-1.5.0-ibm | Assignee: | jiri vanek <jvanek> |
| Status: | CLOSED ERRATA | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 5.7 | CC: | jjarvis, patrickm, rbiba |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | other | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-20 16:22:40 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
IBM Bug Proxy
2010-12-03 14:41:25 UTC
(In reply to comment #0) ... > On ppc64 ROOT/bin/java-rmi.cgi is missing Not true: # rpm -qf /usr/lib/jvm/java-1.5.0-ibm-1.5.0.12.2.ppc64/bin/java-rmi.cgi java-1.5.0-ibm-devel-1.5.0.12.2-1jpp.1.el5.ppc64 > On S390 ROOT/bin/java-rmi.cgi is modified Of course! And the difference is: -PATH=/usr/local/java/bin:$PATH +PATH=/usr/lib/jvm/jre-1.5.0-ibm/bin This change is made intentionally in the spec file to make the script work. > on ppc java-1.5.0-ibm-1.5.0.12.2 files ROOT/bin/HtmlConverter and > ROOT/bin/java-rmi.cgi > are modified Ditto for java-rpm.cgi here (it's modified on every architecture). As for HtmlConverter, it's also modified during packaging, although in this case the modification is incorrect and shouldn't be done. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. ------- Comment From deepakraj.com 2010-12-07 08:16 EDT------- RedHat any update on these issues. Moving this out 1 minor, we'll fix this with the next IBM drop. Yes, it has been provided but apparently there is a mirroring issue on the IBM side. Posting it again here: ================================ (In reply to comment #0) ... > On ppc64 ROOT/bin/java-rmi.cgi is missing Not true: # rpm -qf /usr/lib/jvm/java-1.5.0-ibm-1.5.0.12.2.ppc64/bin/java-rmi.cgi java-1.5.0-ibm-devel-1.5.0.12.2-1jpp.1.el5.ppc64 > On S390 ROOT/bin/java-rmi.cgi is modified Of course! And the difference is: -PATH=/usr/local/java/bin:$PATH +PATH=/usr/lib/jvm/jre-1.5.0-ibm/bin This change is made intentionally in the spec file to make the script work. > on ppc java-1.5.0-ibm-1.5.0.12.2 files ROOT/bin/HtmlConverter and > ROOT/bin/java-rmi.cgi > are modified Ditto for java-rpm.cgi here (it's modified on every architecture). As for HtmlConverter, it's also modified during packaging, although in this case the modification is incorrect and shouldn't be done. added
%define sdklibdir %{_jvmdir}/%{sdklnk}/lib
Just to sumarize ROOT/bin/HtmlConverter is written to be modified under rhel 5 for ibm java 5. This change is wrong, by its content, but this is to be easily fixed by fix from comment 9 Then this script work better then without modification (and much better then without fixing it when it was not working at all)- but modification is not necessary. Also This can be found in java 5 for rhel 4 and 6 And java-rmi.cgi must be patched, and is patched correctly. Ibm agree with it? ------- Comment From lnx1138.ibm.com 2010-12-14 11:52 EDT------- (In reply to comment #13) > Just to sumarize > ROOT/bin/HtmlConverter is written to be modified under rhel 5 for ibm java 5. > This change is wrong, by its content, but this is to be easily fixed by fix > from comment 9 > Then this script work better then without modification (and much better then > without fixing it when it was not working at all)- but modification is not > necessary. OK. Just to confirm, this means that the HtmlConverter script will be restored to the original content and size the same as the way it was fixed for RHEL 6 in https://bugzilla.redhat.com/show_bug.cgi?id=599587 , correct? No. It means that "new" html converter will be fixed so it will work properly. ------- Comment From deepakraj.com 2010-12-20 04:57 EDT------- (In reply to comment #14) > (In reply to comment #13) > > Just to sumarize > > ROOT/bin/HtmlConverter is written to be modified under rhel 5 for ibm java 5. > > This change is wrong, by its content, but this is to be easily fixed by fix > > from comment 9 > > Then this script work better then without modification (and much better then > > without fixing it when it was not working at all)- but modification is not > > necessary. > > Also This can be found in java 5 for rhel 4 and 6 > > > > And java-rmi.cgi must be patched, and is patched correctly. Ibm agree with it? > Stephanie/ Deepak > Can you pls confirm? > Cheers > Prem (In reply to comment #13) > Just to sumarize > ROOT/bin/HtmlConverter is written to be modified under rhel 5 for ibm java 5. > This change is wrong, by its content, but this is to be easily fixed by fix > from comment 9 > Then this script work better then without modification (and much better then > without fixing it when it was not working at all)- but modification is not > necessary. > Also This can be found in java 5 for rhel 4 and 6 > And java-rmi.cgi must be patched, and is patched correctly. Ibm agree with it? Based on this changelog shared by you >This should be enough: >%ifarch ppc64 s390x x86_64 >%define sdklnk java-%{javaver}-%{origin}.%{_arch} >%else >%define sdklnk java-%{javaver}-%{origin} >%endif >%define sdklibdir %{_jvmdir}/%{sdklnk}/lib ... >%define jrebindir %{_jvmdir}/%{jrelnk}/bin ... >%ifarch x86_64 %{x86} ppc ># fix up (create new) HtmlConverter, sdkdir replaced by sdklibdir,and >all packages with plugin affected >cat > bin/HtmlConverter << EOF >%{jrebindir}/java -jar %{sdklibdir}/htmlconverter.jar $* >EOF >%endif >If isn't feel free to ask. JTC has agreed that if RedHat has made the same changes as mentioned above, then it is fine with us. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0169.html |