[Bug 3350] Java applet launched via jnlp web-start cannot load. Fails with "Could not initialize applet"

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Wed Apr 5 17:30:08 UTC 2017


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3350

--- Comment #8 from JiriVanek <jvanek at redhat.com> ---
...
> 
> Was the jnlp file any help?
> 

yes!

> > > 
...
> > Still, may you please verify it helped?
> 
> 
> OK, I have created the file deployment.properties in ~/.config/icedtea-web/
> with the following content.

ty!

> 
> #Netx deployment configuration
> #Wed Apr 05 12:51:00 CEST 2017
> deployment.manifest.attributes.check=NONE
> 
> I got exactly the same error as before. But
> 
> Then I tried adding
> deployment.security.level=ALLOW_UNSIGNED on a second try.
> 
> That made the main class load for the first time! But it didn't load the
> rest of the classes contained in the jar files and it was left hanging at
> what I have as boot screen.

this is very starnge. Do you mind to verify even with cleared cache? (javaws
-Xclearcache)
> 
> [ITW-JAVAWS][ERROR_DEBUG][Wed Apr 05 14:57:25 CEST
> 2017][net.sourceforge.jnlp.Parser.getParserInstance(Parser.java:1351)] NETX
> Thread# 5fd0d5ae, name main: java.lang.ClassNotFoundException:
> net/sourceforge/jnlp/MalformedXMLParser

This smell like packaging bug. Missing tagsoup!
> 
> [ITW-JAVAWS][ERROR_DEBUG][Wed Apr 05 14:57:25 CEST
...
> 
> By the way both .jar files are signed.

Are they signed by same cert or each by its own?

> 
> [ITW-JAVAWS][MESSAGE_DEBUG][Wed Apr 05 14:57:32 CEST
> 2017][net.sourceforge.jnlp.tools.JarCertVerifier.
> getAlreadyTrustPublisher(JarCertVerifier.java:121)] NETX Thread# 4bb62a0b,
> name Kemtrak 007: App already has trusted publisher: true
> [ITW-JAVAWS][MESSAGE_DEBUG][Wed Apr 05 14:57:32 CEST
> 2017][net.sourceforge.jnlp.tools.JarCertVerifier.
> isFullySigned(JarCertVerifier.java:186)] NETX Thread# 4bb62a0b, name Kemtrak
> 007: App already has trusted publisher: true

Annyway, it loks very correct, and you should be abel to run *without*
deployment.security.level=ALLOW_UNSIGNED

> 
> The manifest in the main jar file reads
> Manifest-Version: 1.0
> Created-By: 1.6.0 (Sun Microsystems Inc.)
> Permissions: all-permissions
> Trusted-Only: true
> Application-Name: Kemtrak
> Main-Class: Kemtrak
> Class-path: jcalendar.jar
> Codebase: *
> Application-Library-Allowable-Codebase: *
> 
> 

The manifest file is interesting. Thank you. I will include it in reproducer.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20170405/ece8a972/attachment.html>


More information about the distro-pkg-dev mailing list