Bug 334536

Summary: Broken java-1_5_0-sun* packages
Product: [openSUSE] openSUSE 10.3 Reporter: Rodrigo Moya <rodrigo>
Component: JavaAssignee: E-mail List <bnc-team-java>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: David, edwardp7, forgotten_ny8t7SHjD_, kairo, meissner
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 10.3   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Broken plugin in Firefox
Screen capture showing SeaMonkey cannot find plugin for Java applet at java.com
Screen capture showing plugin is listed among the plugins.

Description Rodrigo Moya 2007-10-17 11:55:32 UTC
I have the following packages installed:

java-1_5_0-sun-plugin-1.5.0_update12-23
java-1_5_0-sun-1.5.0_update12-23

But when opening a page on Firefox with a Java applet, I see a 'missing plugin' broken image. Furthermore, about:plugins on Firefox does not show any trace of a Java plugin.

Investigating further, I see the /etc/alternatives/java links to a non-existing file:

panticosa:/home # ls -l /etc/alternatives/jre
lrwxrwxrwx 1 root root 28 2007-10-17 01:14 /etc/alternatives/jre -> /usr/lib64/jvm/jre-1.5.0-sun
panticosa:/home # ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 37 2007-10-17 01:14 /etc/alternatives/java -> /usr/lib64/jvm/jre-1.5.0-sun/bin/java
panticosa:/home # ls -l /usr/lib64/jvm/jre-1.5.0-sun/
ls: cannot access /usr/lib64/jvm/jre-1.5.0-sun/: No such file or directory

The same happens for all java-1.5-related files in /etc/alternatives. Seems the correct files are in /usr/lib/jvm/java-1.5.0-sun-1.5.0_update12/jre/*. In fact, this is a new installation, on x86_64, and the same worked perfectly on a new installation on i386, so it seems some 64-bit-related paths are broken.
Comment 1 Rodrigo Moya 2007-10-17 11:56:36 UTC
Created attachment 179003 [details]
Broken plugin in Firefox
Comment 2 Marcus Meissner 2007-10-17 12:42:32 UTC
Btw, the 64bit JRE does not even have  a plugin.
Comment 3 Edward Piecewicz 2007-10-17 20:45:39 UTC
An update to Java was installed today automatically via the updater,  The Java plugin now shows a filesize of 0 (zero) with an indication that it is "inaccesible", when searching for it.


Comment 4 Marcus Meissner 2007-10-23 12:16:11 UTC

*** This bug has been marked as a duplicate of bug 334783 ***
Comment 5 Edward Piecewicz 2007-10-28 01:41:01 UTC
This does not appear to be related to bug 334783.

Please see https://bugzilla.mozilla.org/show_bug.cgi?id=398890

The installed plugin is not being recognized by SeaMonkey and Firefox when either application loads in a web page containing a Java applet.


Comment 6 Robert Kaiser 2007-10-28 01:49:10 UTC
As I stated in https://bugzilla.mozilla.org/show_bug.cgi?id=398890#c8 I'm seeing the same with openSUSE 10.3 (and 10.3.1 FACTORY) packages of Sun Java 1.6 when used with non-openSUSE packages of Mozilla software (e.g. the SeaMonkey builds I'm compiling myself here for dev purposes) and I'm hitting an assertion of the JVM there:
------------------------------
java_vm: xcb_xlib.c:52: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
Could not read ack from child process
Plugin: Java VM process has died.
Could not start JavaVM!

VM did not start up properly
------------------------------

/etc/alternatives looks OK, but it's definitely a problem with the JVM.
Comment 7 Edward Piecewicz 2007-10-28 19:47:20 UTC
When going to http://www.java.com/ they have a link "Do I have Java?".  Clicking that link will bring the user to a page where they can check to see if it is installed.  Doing this with both SeaMonkey and Firefox, the browser displays that the plugin is missing.

If I go to the same page with Konqueror, the plugin works fine and the page indicates that I did not have the latest version installed.
Comment 8 Rodrigo Moya 2007-10-29 17:28:11 UTC
Same for me, 'Do I have Java' link just fails
Comment 9 Edward Piecewicz 2007-11-20 21:46:42 UTC
This may be related to bug 334783.
Comment 10 Robert Kaiser 2007-11-20 22:46:11 UTC
As I said in comment #6, /etc/alternatives/ looks OK here, but the JavaVM is crashing with an assertion.
Comment 11 Edward Piecewicz 2007-11-20 23:19:36 UTC
The update didn't fix the plugin issue with SeaMonkey or Firefox, I am still seeing the same result as stated in comment 7 above.

Comment 12 Edward Piecewicz 2007-11-22 00:27:13 UTC
This also affects the 32-bit version (i386 architecture).
Comment 13 Marcus Meissner 2007-11-22 09:47:58 UTC
edward, do:


readlink /etc/alternatives/javaplugin
ls -L /etc/alternatives/javaplugin
Comment 14 Edward Piecewicz 2007-11-22 23:36:41 UTC
Created attachment 184461 [details]
Screen capture showing SeaMonkey cannot find plugin for Java applet at java.com
Comment 15 Edward Piecewicz 2007-11-22 23:38:23 UTC
Created attachment 184462 [details]
Screen capture showing plugin is listed among the plugins.
Comment 16 Edward Piecewicz 2007-11-22 23:39:36 UTC
(checking box to indicate comment provides needed information)
Comment 17 Edward Piecewicz 2007-11-24 04:05:54 UTC
An update today that was provided by SUSE fixed this problem.  The plugin is now found and applets will now load in, using both SeaMonkey and Firefox.  Thank you.
Comment 18 Robert Kaiser 2007-11-24 14:18:17 UTC
Also fixed for me on FACTORY and Java 1.6.0, where it also showed before, see  Comment #6 - I hope marking FIXED is correct here.