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.

Bug 725718

Summary: Can't switch links to the icedtea-web plugin
Product: Red Hat Enterprise Linux 6 Reporter: Radek Bíba <rbiba>
Component: icedtea-webAssignee: Deepak Bhole <dbhole>
Status: CLOSED ERRATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: high Docs Contact:
Priority: high    
Version: 6.2CC: jvanek, patrickm, syeghiay
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: icedtea-web-1.1.2-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 15:10:25 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:
Attachments:
Description Flags
proposed patch none

Description Radek Bíba 2011-07-26 11:26:50 UTC
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.

Comment 2 jiri vanek 2011-08-10 14:16:03 UTC
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.

Comment 3 Deepak Bhole 2011-08-10 14:39:34 UTC
It was moved to install in an LSB compliant location.

Comment 5 jiri vanek 2011-08-16 14:43:08 UTC
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.

Comment 8 Deepak Bhole 2011-08-31 20:00:52 UTC
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.

Comment 12 errata-xmlrpc 2011-12-06 15:10:25 UTC
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