[Bug 546000] New: Java web start down not work
http://bugzilla.novell.com/show_bug.cgi?id=546000 Summary: Java web start down not work Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 8 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: nice@titanic.nyme.hu QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; hu-HU; rv:1.9.1.3) Gecko/20090909 SUSE/3.5.3-2.1 Firefox/3.5.3 I run openSUSE 11.2 MI8 x86-64, and I experienced that neither Firefox not Konqueror can open .jnlp files. Firefox wants to open these files with Konqueror(!), and Konqueror just displays a text instead of opening them. The results are the same with both 64bit java 1.6 plugin and 32 bit java 1.5 plugin via nspluginwrapper. The Java Web Start application also cannot be started from KDE. Reproducible: Always Steps to Reproduce: 1. Start Firefox 2. Visit http://java.sun.com/javase/technologies/desktop/javawebstart/demos.html 3. Try to open any web start demo Actual Results: Won't start Expected Results: Should start -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546000
User nice@titanic.nyme.hu added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c1
--- Comment #1 from Tamás Németh
http://bugzilla.novell.com/show_bug.cgi?id=546000
Tamás Németh
http://bugzilla.novell.com/show_bug.cgi?id=546000
User nice@titanic.nyme.hu added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c2
--- Comment #2 from Tamás Németh
http://bugzilla.novell.com/show_bug.cgi?id=546000
User mvyskocil@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c3
Michal Vyskocil
http://bugzilla.novell.com/show_bug.cgi?id=546000
User nice@titanic.nyme.hu added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c4
Tamás Németh
Hi,
first of all - don't use java-1_5_0-sun - it has no 64bit plugin and has been removed from 11.2 due the upcoming end of life in about 14 days. So remove it and install java-1_6_0-sun (or java-1_6_0-openjdk) instead which has a native 64bit plugin (the nspluginwrapper don't work with Java).
The jnlp handler for Firefox is registered in /etc/mailcap, but it should be suppressed by user's ~/.malcap or ~/.mime.types. Anyway when you'll have 1.6.0 Java, you'll get a working plugins and java webstart on 64bit systems.
I installed 64bit java 1.6.0 (the Sun version, since the openjdk version seems to be only able to run basic abblications), but Java Web Start support still has to be enabled manually (as I described above), despite the fact that after 64bit java installation I removed ~/.mozilla, and I don't have ~/.mailcap or ~/.mime.types and my /etc/mailcap is unchanged. (However, java applets started to work.) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546000
User mvyskocil@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c5
Michal Vyskocil
http://bugzilla.novell.com/show_bug.cgi?id=546000
User nice@titanic.nyme.hu added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c6
Tamás Németh
Can you provide the output of following commands
NSPR_LOG_MODULES=HelperAppService:5 firefox grep jnlp /etc/mailcap ls -lh /usr/bin/javaws
But basically this would work the jnlp handler in /etc/mailcap points to /usr/bin/javaws, so if it exists, Java Web Start works as on my system (excluding exception from openjdk, as I'm running a devel snapshot).
tamas@milleniumfalcon:~> NSPR_LOG_MODULES=HelperAppService:5 firefox 2047379216[7f8778d66040]: Here we do an extension lookup for 'js' 2047379216[7f8778d66040]: -- LookUpTypeAndDescription for extension 'js' 2047379216[7f8778d66040]: -- GetFileLocation. Pref: 'helpers.private_mime_types_file' EnvVar: '(null)' 2047379216[7f8778d66040]: -- GetTypeAndDescriptionFromMimetypesFile 2047379216[7f8778d66040]: Getting type and description from types file '~/.mime.types' 2047379216[7f8778d66040]: Using extension 'js' 2047379216[7f8778d66040]: -- CreateInputStream 2047379216[7f8778d66040]: Looking in GNOME registry 2047379216[7f8778d66040]: Got MIMEInfo from GNOME registry 2047379216[7f8778d66040]: Here we do an extension lookup for 'js' 2047379216[7f8778d66040]: -- LookUpTypeAndDescription for extension 'js' 2047379216[7f8778d66040]: -- GetFileLocation. Pref: 'helpers.private_mime_types_file' EnvVar: '(null)' 2047379216[7f8778d66040]: -- GetTypeAndDescriptionFromMimetypesFile 2047379216[7f8778d66040]: Getting type and description from types file '~/.mime.types' 2047379216[7f8778d66040]: Using extension 'js' 2047379216[7f8778d66040]: -- CreateInputStream 2047379216[7f8778d66040]: Looking in GNOME registry 2047379216[7f8778d66040]: Got MIMEInfo from GNOME registry 2047379216[7f8778d66040]: Here we do an extension lookup for 'js' 2047379216[7f8778d66040]: -- LookUpTypeAndDescription for extension 'js' 2047379216[7f8778d66040]: -- GetFileLocation. Pref: 'helpers.private_mime_types_file' EnvVar: '(null)' 2047379216[7f8778d66040]: -- GetTypeAndDescriptionFromMimetypesFile 2047379216[7f8778d66040]: Getting type and description from types file '~/.mime.types' 2047379216[7f8778d66040]: Using extension 'js' 2047379216[7f8778d66040]: -- CreateInputStream 2047379216[7f8778d66040]: Looking in GNOME registry 2047379216[7f8778d66040]: Got MIMEInfo from GNOME registry 2047379216[7f8778d66040]: Here we do an extension lookup for 'js' 2047379216[7f8778d66040]: -- LookUpTypeAndDescription for extension 'js' 2047379216[7f8778d66040]: -- GetFileLocation. Pref: 'helpers.private_mime_types_file' EnvVar: '(null)' 2047379216[7f8778d66040]: -- GetTypeAndDescriptionFromMimetypesFile 2047379216[7f8778d66040]: Getting type and description from types file '~/.mime.types' 2047379216[7f8778d66040]: Using extension 'js' 2047379216[7f8778d66040]: -- CreateInputStream 2047379216[7f8778d66040]: Looking in GNOME registry 2047379216[7f8778d66040]: Got MIMEInfo from GNOME registry *** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable). tamas@milleniumfalcon:~> grep jnlp /etc/mailcap application/x-java-jnlp-file;/usr/bin/javaws "%s" type=application/x-java-jnlp-file; description="Java Web Start"; exts="jnlp" type=application/x-java-jnlp-file; description="Java Web Start"; exts="jnlp" type=application/x-java-jnlp-file; description="Java Web Start"; exts="jnlp" type=application/x-java-jnlp-file; description="Java Web Start"; exts="jnlp" type=application/x-java-jnlp-file; description="Java Web Start"; exts="jnlp" type=application/x-java-jnlp-file; description="Java Web Start"; exts="jnlp" type=application/x-java-jnlp-file; description="Java Web Start"; exts="jnlp" type=application/x-java-jnlp-file; description="Java Web Start"; exts="jnlp" type=application/x-java-jnlp-file; description="Java Web Start"; exts="jnlp" tamas@milleniumfalcon:~> ls -lh /usr/bin/javaws lrwxrwxrwx 1 root root 24 okt 13 19.30 /usr/bin/javaws -> /etc/alternatives/javaws tamas@milleniumfalcon:~> ls -lh /etc/alternatives/javaws lrwxrwxrwx 1 root root 39 okt 13 19.30 /etc/alternatives/javaws -> /usr/lib64/jvm/jre-1.6.0-sun/bin/javaws tamas@milleniumfalcon:~> ls -lh /usr/lib64/jvm/jre-1.6.0-sun/bin/javaws -rwxr-xr-x 1 root root 91K júl 3 01.00 /usr/lib64/jvm/jre-1.6.0-sun/bin/javaws -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546000
User mvyskocil@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c7
Michal Vyskocil
http://bugzilla.novell.com/show_bug.cgi?id=546000
User wolfgang@rosenauer.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c8
Wolfgang Rosenauer
http://bugzilla.novell.com/show_bug.cgi?id=546000
User nice@titanic.nyme.hu added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c9
--- Comment #9 from Tamás Németh
http://bugzilla.novell.com/show_bug.cgi?id=546000
User mvyskocil@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c10
Michal Vyskocil
Probably I missed something but the above output always shows "js" as extension and not jnlp. So I see two things: The webservice doesn't send a mimetype (is it loaded just from a file?) or is the webserver broken? The file extension is js which I don't believe is a valid extension to identify a jnlp file?
I tested a http://java.sun.com/javase/technologies/desktop/javawebstart/demos.html mentioned in initial comment and all demos has a valid mime type application/x-java-jnlp-file and everything works (after removal of previous user defined garbage). (In reply to comment #9)
Still does not work in 32 bit RC1 from KDE live CD.
I'll recheck the LiveCD asap. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546000
User wolfgang@rosenauer.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c11
--- Comment #11 from Wolfgang Rosenauer
http://bugzilla.novell.com/show_bug.cgi?id=546000
User mvyskocil@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c12
--- Comment #12 from Michal Vyskocil
http://bugzilla.novell.com/show_bug.cgi?id=546000
User mvyskocil@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c13
--- Comment #13 from Michal Vyskocil
Hmm, haven't I explained why it doesn't work for Tamas (most likely)?
Michal, I understand all is working for you with your testcases.
It works on my machine uses Factory (a lot of zypper dup, rpm -e, so it's maybe not a best one :). Please look at the attachment in comment#12 - it's reproducible on KDE LiveCD. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546000
User wolfgang@rosenauer.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c14
Wolfgang Rosenauer
http://bugzilla.novell.com/show_bug.cgi?id=546000
User mvyskocil@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c15
--- Comment #15 from Michal Vyskocil
http://bugzilla.novell.com/show_bug.cgi?id=546000
User llunak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c16
Lubos Lunak
http://bugzilla.novell.com/show_bug.cgi?id=546000
User wolfgang@rosenauer.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c17
--- Comment #17 from Wolfgang Rosenauer
http://bugzilla.novell.com/show_bug.cgi?id=546000
User nice@titanic.nyme.hu added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c18
--- Comment #18 from Tamás Németh
http://bugzilla.novell.com/show_bug.cgi?id=546000
User mvyskocil@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c19
Michal Vyskocil
And please also don't forget that Konqueror is absolutely unable to open .jnlp web start files yet!
As Lubos explained inc comment#16 - Konqueror is offered only^ if no Java Webstart is installed (and LiveCD doesn't contains Sun nor openjdk Java by default). In this case Konqueror only show up an jnlp file as a normal xml file. It'd be considered as strange, but intended, behavior. ^ I'm talking about case with disabled /usr/lib/kmozillahelper *reassigning to bnc-team-mozilla -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=546000
User nice@titanic.nyme.hu added comment
http://bugzilla.novell.com/show_bug.cgi?id=546000#c20
--- Comment #20 from Tamás Németh
As Lubos explained inc comment#16 - Konqueror is offered only^ if no Java Webstart is installed.
I observed this symptom while java was installed and javaws was in place. I could even open .jnlp files, but to achieve this, I had to manually instruct FireFox to use the command javaws. Konqueror is still totally unable to open .jnlp files despite the fact that I saved javaws permanently as the application to handle web start stuff. -- Configure bugmail: http://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=546000
https://bugzilla.novell.com/show_bug.cgi?id=546000#c21
Tamás Németh
https://bugzilla.novell.com/show_bug.cgi?id=546000
https://bugzilla.novell.com/show_bug.cgi?id=546000#c22
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=546000
https://bugzilla.novell.com/show_bug.cgi?id=546000#c23
Tamás Németh
Hi Tamás, still not able to reproduce your problem. Firefox is able to open jnlp with Java installed and in case it not, it offers Konqueror as a XML viewer, not a browser for launching of jnlp files.
What about trying it on a freshly installed openSUSE 11.4 RC1 (with newly ceated home directory, thus using default settings)? This bug still applies to 11.4 RC1! -- 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=546000
https://bugzilla.novell.com/show_bug.cgi?id=546000#c24
--- Comment #24 from Tamás Németh
https://bugzilla.novell.com/show_bug.cgi?id=546000
https://bugzilla.novell.com/show_bug.cgi?id=546000#c25
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=546000
https://bugzilla.novell.com/show_bug.cgi?id=546000#c26
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=546000
https://bugzilla.novell.com/show_bug.cgi?id=546000#c27
--- Comment #27 from Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=546000
https://bugzilla.novell.com/show_bug.cgi?id=546000#c28
--- Comment #28 from Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=546000
https://bugzilla.novell.com/show_bug.cgi?id=546000#c29
--- Comment #29 from Wolfgang Rosenauer
https://bugzilla.novell.com/show_bug.cgi?id=546000
https://bugzilla.novell.com/show_bug.cgi?id=546000#c30
--- Comment #30 from Lubos Lunak
Lubos, is there an easy way to ask KDE what it returns for certain mimetypes for debugging purposes?
You can run 'keditfiletype <mimetype>' to see KDE's preferences for a mimetype. -- 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=546000
https://bugzilla.novell.com/show_bug.cgi?id=546000#c31
Michal Vyskocil
I'm not sure if we reflect the KDE integration in the logging. I'll check that.
"And there's nothing like kde integration" on KDE LiveCD? Why not? I guess the supposed behaviour is to use KDE integration always when running under KDE.
My bad, I thought it's in mozilla-xulrunner20-kde4 - the mozilla-kde4-integration is installed. (In reply to comment #30)
(In reply to comment #29)
Lubos, is there an easy way to ask KDE what it returns for certain mimetypes for debugging purposes?
You can run 'keditfiletype <mimetype>' to see KDE's preferences for a mimetype.
And it returns Konqueror. The reason is in missing MimeType in /usr/share/applications/jpackage-java-1_6_0-sun.desktop. The reason why it ever worked for me was the javaws.desktop file from openjdk package. Tamas: as quick fix please add a following line to the desktop file MimeType=application/x-java-jnlp-file; rerun kbuildsysoca4 and the it will work. Lubos, Wolfgang, thanks for your help. -- 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=546000
https://bugzilla.novell.com/show_bug.cgi?id=546000#c32
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=546000
https://bugzilla.novell.com/show_bug.cgi?id=546000#c33
Michal Vyskocil
participants (1)
-
bugzilla_noreply@novell.com