[Bug 345472] New: /etc/alternatives/ javaplugin Is Broken In Current java-sun-1.5.0-update13-sr2 Package
https://bugzilla.novell.com/show_bug.cgi?id=345472 Summary: /etc/alternatives/javaplugin Is Broken In Current java- sun-1.5.0-update13-sr2 Package Product: openSUSE 10.3 Version: Final Platform: All OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: sourtooth@gmail.com QAContact: qa@suse.de Found By: --- Currently Java In Firefox Is Broken Due To This: /usr/lib/jvm/java-1.5.0-sun-1.5.0_update12/jre/plugin/i386/ns7/libjavaplugin_oji.so Being Symlinked Instead Of: /usr/lib/jvm/java-1.5.0-sun-1.5.0_update13-sr2/jre/plugin/i386/ns7/libjavaplugin_oji.so At /etc/alternatives/javaplugin It Is Actually Caused By /usr/lib/browser-plugins/javaplugin.so Linking To /etc/alternatives/javaplugin Which In Turn Is Broken I Have Created A Simple Fix: Using Konqueror As Root Goto: /etc/alternatives/ And Delete javaplugin ( Nothing ELSE! ) Then Run As Root In Konsole: ln -s /usr/lib/jvm/java-1.5.0-sun-1.5.0_update13-sr2/jre/plugin/i386/ns7/libjavaplugin_oji.so /etc/alternatives/javaplugin However If You Try To Use Any Java Content... Firefox Will Freeze Totally. It Outputs This On The Command Line: which: no wxdfast in (/opt/kde3/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin) which: no gwget in (/opt/kde3/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin) which: no d4x in (/opt/kde3/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin) which: no nt in (/opt/kde3/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin) which: no aria in (/opt/kde3/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin) libxcb: WARNING! Program tries to unlock a connection without having acquired a lock first, which indicates a programming error. There will be no further warnings about this issue. libxcb: WARNING! Program tries to lock an already locked connection, which indicates a programming error. There will be no further warnings about this issue. Which Indicates A: This Script Can't Find Some Stuff B: That This Java Plugin Doesn't Exactly Work However I Believe This To Be A Seperate Bug, Not Related To This Issue -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=345472 User mvyskocil@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=345472#c1 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvyskocil@novell.com Status|NEW |NEEDINFO Info Provider| |sourtooth@gmail.com --- Comment #1 from Michal Vyskocil <mvyskocil@novell.com> 2007-12-04 06:29:42 MST --- I cannot simulate this issue. What combination of updates breaks your system? I cannot break these link on my test system (and the last update contains the workaround which solve the /etc/alternatives bugs). # the directory b0 contains the 1.5.0.u1 and the b3 the 1.5.0.u3-sr2 mvyskocil@zelva:~/work/java/java-test/1_5_0/i586> sudo rpm -ivh b0/java-1_5_0-sun* Preparing... ########################################### [100%] 1:java-1_5_0-sun ########################################### [ 50%] 2:java-1_5_0-sun-plugin ########################################### [100%] mvyskocil@zelva:~/work/java/java-test/1_5_0/i586> sudo rpm -Uvh b3/java-1_5_0-sun* Preparing... ########################################### [100%] 1:java-1_5_0-sun ########################################### [ 50%] 2:java-1_5_0-sun-plugin ########################################### [100%] mvyskocil@zelva:~/work/java/java-test/1_5_0/i586> l /etc/alternatives/javaplugin lrwxrwxrwx 1 root root 87 2007-12-04 10:59 /etc/alternatives/javaplugin -> /usr/lib/jvm/java-1.5.0-sun-1.5.0_update13-sr2/jre/plugin/i386/ns7/libjavaplugin_oji.so* mvyskocil@zelva:~/work/java/java-test/1_5_0/i586> /usr/sbin/update-alternatives --display javaplugin javaplugin - status is auto. link currently points to /usr/lib/jvm/java-1.5.0-sun-1.5.0_update13-sr2/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/jvm/java-1.5.0-sun-1.5.0_update13-sr2/jre/plugin/i386/ns7/libjavaplugin_oji.so - priority 1514 Current `best' version is /usr/lib/jvm/java-1.5.0-sun-1.5.0_update13-sr2/jre/plugin/i386/ns7/libjavaplugin_oji.so. JFYI, the symlinks in /etc/alternatives are maintained by update-alternatives script, which could tell more about your problem (update-alternatives --display javaplugin). ln -s breaks the update-alternatives history and future update of java will not change this symlink. A better workaround of this issue is to delete the javaplugin symlink and type (as root) /usr/sbin/update-alternatives --install /usr/lib/browser-plugins/javaplugin.so javaplugin /usr/lib/jvm/java-1.5.0-sun-1.5.0_update13-sr2/jre/plugin/i386/ns7/libjavaplugin_oji.so 1514 And the javaplugin works good on my test system (I've try the java.sun.com/applets/jdk/1.4/demo/applets/BarChart/example1.html) without problem. Do you have a x86_64 or i386? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=345472 User sourtooth@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=345472#c2 Ben Cooksley <sourtooth@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sourtooth@gmail.com Status|NEEDINFO |RESOLVED Info Provider|sourtooth@gmail.com | Resolution| |WORKSFORME --- Comment #2 from Ben Cooksley <sourtooth@gmail.com> 2007-12-04 20:26:43 MST --- That Works For Me With A Slight Twist: You Must Use /usr/sbin/update-alternatives --install /usr/lib/browser-plugins/javaplugin.so javaplugin.so /usr/lib/jvm/java-1.5.0-sun-1.5.0_update13-sr2/jre/plugin/i386/ns7/libjavaplugin_oji.so 1514 Closing This As WORKSFORME. I ( Checking update-alternatives ) Had It Set To Manual, Wether This Existed Beforehand Is Unknown. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com