Bug 129290

Summary: Sun Java Plugin (java-1_5_0-sun-plugin-1.5.0_03-2) is Broken
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Dan Elder <delder>
Component: JavaAssignee: Daniel Bornkessel <dbornkessel>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Third Party Developer/Partner Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dan Elder 2005-10-19 07:27:43 UTC
The rpm for the java plugin contains the following:

/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/i386/libjavaplugin_jni.so
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/i386/libjavaplugin_nscp.so
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/i386/libjavaplugin_nscp_gcc29.so
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/locale/de/LC_MESSAGES/sunw_java_plugin.mo
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/locale/es/LC_MESSAGES/sunw_java_plugin.mo
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/locale/fr/LC_MESSAGES/sunw_java_plugin.mo
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/locale/it/LC_MESSAGES/sunw_java_plugin.mo
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/locale/ja/LC_MESSAGES/sunw_java_plugin.mo
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/locale/ko.UTF-8/LC_MESSAGES/sunw_java_plugin.mo
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/locale/ko/LC_MESSAGES/sunw_java_plugin.mo
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/locale/sv/LC_MESSAGES/sunw_java_plugin.mo
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/locale/zh.GBK/LC_MESSAGES/sunw_java_plugin.mo
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/locale/zh/LC_MESSAGES/sunw_java_plugin.mo
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/locale/zh_HK.BIG5HK/LC_MESSAGES/sunw_java_plugin.mo
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/locale/zh_TW.BIG5/LC_MESSAGES/sunw_java_plugin.mo
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/locale/zh_TW/LC_MESSAGES/sunw_java_plugin.mo
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/plugin.jar
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/plugin
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/plugin/desktop
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/plugin/desktop/sun_java.desktop
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/plugin/desktop/sun_java.png
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/plugin/i386
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/plugin/i386/ns7
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/plugin/i386/ns7-gcc29
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/plugin/i386/ns7/libjavaplugin_oji.so
/usr/share/java-1.5.0-sun/firefox-plugin-dirs
/usr/share/java-1.5.0-sun/mozilla-plugin-dirs

When you launch firefox and load a page with a java applet you get errors like
the following:

Exec of "/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/bin/java_vm" failed: No such
file or directory


** (Gecko:23936): WARNING **: Serious fd usage error 17

** (Gecko:23936): WARNING **: Serious fd usage error 15
Could not read ack from child process
Plugin: Java VM process has died.
plugin: java process exited with status 6
Could not start JavaVM!

There isn't any /usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/bin/java_vm file in the
rpm which appears to be the problem.  Rolling back to the 1.4.2 java plugin
works fine.

Thanks,
Dan
Comment 1 Sonja Krause-Harder 2006-01-12 14:47:20 UTC
Daniel, can you check if we still have this problem with 10.1 beta1 when it's out?
Comment 2 Dan Elder 2006-01-13 00:47:12 UTC
Absolutely.  I can test out any beta packages you need and do any regression testing you need.
Thanks,
Dan
Comment 3 Daniel Bornkessel 2006-01-13 07:44:13 UTC
Dan, thanks for the Bug report.
The java_vm file is part of the Java package itself. To be sure, have a look in the regarding directory and check if the file is there please.
In the 10.1 Version, plugin handling libraries will all be placed in 
/usr/lib/browser-plugins
as suggested in Bug #119416 . This is already fixed in the corresponding Java packages. Note that is possible that it does not work with the firefox included in 10.0, as the firefox wrapper script needs to be adjusted as well.

Dan: Could you have a look if the file does exist on your system or not? If that should indeed be the problem it is solved in the current 10.1 code.

Regards,
Daniel
Comment 4 Dan Elder 2006-03-08 22:35:39 UTC
Hello,
I'm currently running the NLD 10 beta (6) which is the same base as OpenSUSE but the version of java included is only 1.4.2.  If you can point me at 1.5 rpms I will be happy to install and test them.  I wasn't able to find packages at http://ftp.osuosl.org/pub/opensuse/distribution/SL-OSS-stable/inst-source-java/suse/x86_64/ and there wasn't a folder for factory.
Thanks,
Dan Elder
Comment 5 Daniel Bornkessel 2006-03-09 10:29:06 UTC
Dan, are you looking for this:
http://ftp.suse.com/pub/suse/i386/10.1/inst-source-extra/suse/x86_64/
[64 Bit Java] or
http://ftp.suse.com/pub/suse/i386/10.1/inst-source-extra/suse/i586/
[32 Bit Java]

Note that the 64 Bit version does not provide the plugin.
Comment 6 Dan Elder 2006-03-10 04:45:05 UTC
Perfect, the 32 bit plugin works perfectly (not sure why there were problems in SUSE 10).  Are there any plans to optionally include the 32 bit JVM and plugin as an option for SLED 10?  Since they're pretty much binary compatible it's not really a big issue but it is convenient.
Thanks for the link,
Dan
Comment 7 Daniel Bornkessel 2006-03-10 10:23:20 UTC
Discussion continued at Bug #156311