FS#37177 - [icedtea-web-java7] dependancy missed - 'java-rhino'

Attached to Project: Arch Linux
Opened by Mike Kuznetsov (mikevmk) - Thursday, 03 October 2013, 08:44 GMT
Last edited by Guillaume ALAUX (galaux) - Thursday, 03 October 2013, 15:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Guillaume ALAUX (galaux)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

javaws (Java Web Start handler) from 'icedtea-web-java7' package needs 'java-rhino' package to work properly with some *.jnlp files (e.g. from IBM GCM16 KVM web interface), it hangs up on initial run step without it.


Additional info:
icedtea-web-java7 1.4.1-1
java-rhino 1.7R4-1


Steps to reproduce:
install icedtea-web-java7 and try to run KVM session on IBM GCM16 KVM web interface

Solution:
Add 'java-rhino' to dependencies list of 'icedtea-web-java7'
This task depends upon

Closed by  Guillaume ALAUX (galaux)
Thursday, 03 October 2013, 15:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  Will be available in next OpenJDK Arch Linux package release
Comment by Guillaume ALAUX (galaux) - Thursday, 03 October 2013, 13:35 GMT
Could you please provide some more details that shows this? A stack trace maybe. A way to reproduce it would be nice too: could this be experienced somewhere else than the "KVM session on IBM GCM16 KVM web interface" as I don't have one!
FYI jre7-openjdk-headless already provides its own rhino.jar
Comment by Mike Kuznetsov (mikevmk) - Thursday, 03 October 2013, 14:07 GMT
When i run it from term without java-rhino package installed i got a few messages like this (only changes the DownloaderThread# <- this number):

Exception in thread "DownloaderThread3" java.lang.NoClassDefFoundError: org/mozilla/javascript/Context
at net.sourceforge.jnlp.runtime.RhinoBasedPacEvaluator$EvaluatePacAction.run(RhinoBasedPacEvaluator.java:234)
at net.sourceforge.jnlp.runtime.RhinoBasedPacEvaluator$EvaluatePacAction.run(RhinoBasedPacEvaluator.java:219)
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.RhinoBasedPacEvaluator.getProxiesWithoutCaching(RhinoBasedPacEvaluator.java:140)
at net.sourceforge.jnlp.runtime.RhinoBasedPacEvaluator.getProxies(RhinoBasedPacEvaluator.java:105)
at net.sourceforge.jnlp.browser.BrowserAwareProxySelector.getFromBrowserPAC(BrowserAwareProxySelector.java:236)
at net.sourceforge.jnlp.browser.BrowserAwareProxySelector.getFromBrowser(BrowserAwareProxySelector.java:184)
at net.sourceforge.jnlp.runtime.JNLPProxySelector.select(JNLPProxySelector.java:208)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:926)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:850)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
at net.sourceforge.jnlp.cache.ResourceTracker.getUrlResponseCode(ResourceTracker.java:872)
at net.sourceforge.jnlp.cache.ResourceTracker.findBestUrl(ResourceTracker.java:911)
at net.sourceforge.jnlp.cache.ResourceTracker.initializeResource(ResourceTracker.java:789)
at net.sourceforge.jnlp.cache.ResourceTracker.processResource(ResourceTracker.java:624)
at net.sourceforge.jnlp.cache.ResourceTracker.access$500(ResourceTracker.java:76)
at net.sourceforge.jnlp.cache.ResourceTracker$Downloader$1.run(ResourceTracker.java:1172)
at net.sourceforge.jnlp.cache.ResourceTracker$Downloader$1.run(ResourceTracker.java:1170)
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.cache.ResourceTracker$Downloader.run(ResourceTracker.java:1170)
at java.lang.Thread.run(Thread.java:724)


There is no such messages when package java-rhino is installed and application is working properly
Comment by Guillaume ALAUX (galaux) - Thursday, 03 October 2013, 15:52 GMT
Yes it's looking for the org.mozilla.javascript.* whereas the ones provided in jre-openjdk7-headless by rhino.jar are sun.org.mozilla.javascript.* thus the fail.
I'm adding this optional dependency to jre7-openjdk-headless. Will be shipped with the next release.

Loading...