[icedtea-web] RFC: PR788: Elluminate Live! is not working
Jiri Vanek
jvanek at redhat.com
Thu Oct 20 05:52:36 PDT 2011
On 09/22/2011 10:49 PM, Omair Majid wrote:
> Hi,
>
> The attached patch fixes PR788. The exception is caused in checkForMain, which is only present in HEAD.
>
> In a way, the patch is a duplicate of
> http://icedtea.classpath.org/hg/icedtea-web/rev/df3cf32781d3
>
> Okay to add to HEAD?
>
> Cheers,
> Omair
Hi. This is reproducer for this fix which Omair posted some time ago. When I was creating this simple behaviour, I was surprised that some cases are falling.
The reproducer contains one "signed jar" and four testing jnlp files and four tests. It is surprise, that jnlp/test id numbers 2 and 4 are failing. From this is obvious, that difference between tests is only in order of loaded jars in jnlp. I consider this behaviour as *bug*.
Stacktrace for both failing cases:
(connecting MissingJar4 request have same except numbering)
connecting MissingJar2 request
java.io.FileNotFoundException: /home/jvanek/Desktop/icedtea-web/tests.build/jnlp_test_server/./MissingOne.jar (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at net.sourceforge.jnlp.ServerAccess$ServerLauncher$TinyHttpdImpl.run(ServerAccess.java:752)
java.io.FileNotFoundException: /home/jvanek/Desktop/icedtea-web/tests.build/jnlp_test_server/./MissingOne.jar (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at net.sourceforge.jnlp.ServerAccess$ServerLauncher$TinyHttpdImpl.run(ServerAccess.java:752)
Stopping assasin forThread[Thread-96,5,] java.lang.UNIXProcess at 77fddc31 /home/jvanek/icedtea-web-image/bin/javaws -Xtrustall -headless http://localhost:59490/MissingJar2.jnlp:
JAR http://localhost:59490/MissingOne.jar not found. Continuing.
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application.
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:765)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:551)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:876)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant permissions to unsigned jars.
at net.sourceforge.jnlp.runtime.JNLPClassLoader.setSecurity(JNLPClassLoader.java:278)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:198)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:312)
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:757)
... 2 more
Caused by:
net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant permissions to unsigned jars.
at net.sourceforge.jnlp.runtime.JNLPClassLoader.setSecurity(JNLPClassLoader.java:278)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:198)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:312)
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:757)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:551)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:876)
Attached is new reproducer diff and tests run logs.
Changelog:
2011-10-20 Jiri Vanek <jvanek at redhat.com>
Added reproducer for - PR788: Elluminate Live! is not working
* tests/jnlp_tests/signed/MissingJar/resources/MissingJar.jnlp
* tests/jnlp_tests/signed/MissingJar/resources/MissingJar2.jnlp
* tests/jnlp_tests/signed/MissingJar/resources/MissingJar3.jnlp
* tests/jnlp_tests/signed/MissingJar/resources/MissingJar4.jnlp
four testcases's jnlp files. Differs by order and by used resoure tags
* tests/jnlp_tests/signed/MissingJar/srcs/MissingJar.java
very simple main jar, just printing message when initialized
* tests/jnlp_tests/signed/MissingJar/testcases/MissingJarTest.java
testing file of reproducer, launchiing above four jnlp files, each in individual test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: missngJar.diff
Type: text/x-patch
Size: 9085 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111020/21270af8/missngJar.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests.build.tar.gz
Type: application/x-gzip
Size: 12530 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20111020/21270af8/tests.build.tar.gz
More information about the distro-pkg-dev
mailing list