Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
The new icedtea-web package contains the plugin at /usr/lib/IcedTeaPlugin.so. The problem is that system-switch-java doesn't expect such a location and doesn't switch libjavaplugin.so(.x86_64) to it.
Version-Release number of selected component (if applicable):
system-switch-java-1.1.5-2.el6
How reproducible:
Always
Steps to Reproduce:
1. Install java-1.6.0-sun-plugin
2. Install icedtea-web
3. Run system-switch-java and switch the java toolset to OpenJDK 1.6.0
Actual results:
java, javac etc. are switched to OpenJDK, but the SUN plugin remains set
Expected results:
The browser plugin link is set to IcedTea, too.
Additional info:
It's a regression that isn't caused by s-s-java itself but by a change in icedtea-web. Please fix s-s-java or revert the plugin location change.
I think I can fix this issue in s-s-java, but before posting solution (which will be quite complex) I would like to ask why plugin was renamed and moved and weather it is not worthy to rename it back.
Created attachment 518504[details]
proposed patch
This is proposed patch.
It also fix 731039, Sorry for not delivering them separately, but they are quite bound together.
Re-opening and changing component.
The fix to system-switch-java is incorrect. s-s-j has no knowledge of which JDK icedtea-web was built against and therefore it should not be deciding when the plug-in is to be selected.
The right fix is for icedtea-web to create a proper link in JRE_HOME so that the existing system-switch-java works.
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.
http://rhn.redhat.com/errata/RHBA-2011-1624.html