Created attachment 473677 [details] JNLP-file as returned from the ATEN iKVM-webserver The ATEN iKVM-viewer works fine with Sun Java (tested on a Windows machine) but fails on F14. Tracking this down showed that support for jnlp.packEnabled and jnlp.versionEnabled seem to be the missing in openJDK. Excerpt from JNLP: <jnlp spec="1.0+" codebase="http://localhost/"> <resources> <property name="jnlp.packEnabled" value="true"/> <property name="jnlp.versionEnabled" value="true"/> <j2se version="1.6.0+" initial-heap-size="32M" max-heap-size="40M"/> <jar href="iKVM.jar" download="eager" main="true" version="1.60.1.0x0"/> </resources> See below on how to test it really fails on these two funtionalities: javaws from openjdk tries to download the file "iKVM.jar" from localhost and fails. Sun Java instead downloads: iKVM__V1.60.1.0x0.jar.pack.gz from localhost (using the same JNLP!) I then manually adjusted the file-names like: <jar href="iKVM__V1.60.1.0x0.jar.pack.gz" download="eager" main="true" version="1.60.1.0x0"/> And that downloaded the file successfully. However it did not execute because of java.util.zip.ZipException: error in opening zip file So I manually unpacked the file: unpack200 liblinux_x86_64__V1.0.3.jar.pack.gz liblinux_x86_64__V1.0.3.jar And modified the jnlp to read: <jnlp spec="1.0+" codebase="./"> <resources> <property name="jnlp.packEnabled" value="true"/> <property name="jnlp.versionEnabled" value="true"/> <j2se version="1.6.0+" initial-heap-size="32M" max-heap-size="40M"/> <jar href="iKVM__V1.60.1.0x0.jar" download="eager" main="true" version="1.60.1.0x0"/> </resources> And then it finally started successfully without further problems.
Just found a random bug-report upstream refering to packEnabled (and a linked one also refering to versionEnabled). See: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6672250 They seem to indicate support for those two things was added back in 2008 - but seems to not be available in the current IcedTea-release. Can that be? Could somebody with a deeper knowledge in IcedTea-development maybe check that in the sources and possibly see if (in case needed) upstream-IcedTea can (back-)port something maybe?
Hi Stefan I am one of the IcedTea developers. I can confirm that this support is indeed missing in IcedTea6 and IcedTea-Web. (In reply to comment #1) > They seem to indicate support for those two things was added back in 2008 - but > seems to not be available in the current IcedTea-release. Can that be? Could > somebody with a deeper knowledge in IcedTea-development maybe check that in the > sources and possibly see if (in case needed) upstream-IcedTea can (back-)port > something maybe? Unfortunately, Sun (now Oracle) did not open source the plugin and web start along with the rest of the JDK. The plugin/javaws provided by the IcedTea project is a completely independent Free implementation. It is not fully compatible with the proprietary plugin/web start (yet). I will be working on fixing this particular bug upstream. Thanks for reporting the bug!
I have added support upstream for packEnabled and versionEnabled, but only for jnlp files; applet support should be forthcoming. http://icedtea.classpath.org/hg/icedtea-web/rev/0768433ea58d http://icedtea.classpath.org/hg/icedtea-web/rev/6915efabb42c http://icedtea.classpath.org/hg/icedtea-web/rev/c6f717dfcb97
The bug is fixed in icedtea-web 1.1. There are no plans to add icedtea-web to F14.