Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2015 18:13:35 +0300
From:      Slawa Olhovchenkov <slw@zxy.spb.ru>
To:        Ronald Klop <ronald-lists@klop.ws>
Cc:        freebsd-java@freebsd.org
Subject:   Re: firefox java plugin
Message-ID:  <20151126151335.GX31314@zxy.spb.ru>
In-Reply-To: <op.x8pqy60gkndu52@53555a16.cm-6-6b.dynamic.ziggo.nl>
References:  <20151116162749.GC31314@zxy.spb.ru> <op.x8pqy60gkndu52@53555a16.cm-6-6b.dynamic.ziggo.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 26, 2015 at 04:07:44PM +0100, Ronald Klop wrote:

> This message looks important.
> 
> netx: Initialization Error: Could not initialize applet. (Fatal:  
> Application Error: The signed JNLP file did not match the launching JNLP  
> file. Missing Resource: Signed Application did not match launching JNLP  
> File)

Who is to blame and what to do?
I am test on https://www.java.com/verify/

> 
> On Mon, 16 Nov 2015 17:27:49 +0100, Slawa Olhovchenkov <slw@zxy.spb.ru>  
> wrote:
> 
> > How I can got working java plugin in Firefox 41+?
> > I am try to use openjdk8 and Icedtea 1.5.2 and got error on test page:
> >
> >
> > Error on Java side:
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could  
> > not initialize applet. For more information click "more information  
> > button".     at  
> > net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:739)     at  
> > net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:668)     at
> > net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:901) Caused by:  
> > net.sourceforge.jnlp.LaunchException: Fatal: Application Error: The  
> > signed JNLP file did not match the launching JNLP file. Missing  
> > Resource: Signed Application did not match launching JNLP File     at
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.verifySignedJNLP(JNLPClassLoader.java:1006)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.checkForMain(JNLPClassLoader.java:845)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:659)  
> >     at
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:277)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:351)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:418)  
> >     at
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:394)  
> >     at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:704)  
> >     ... 2 more
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > System logger called with result of 0
> > net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could  
> > not initialize applet. For more information click "more information  
> > button".     at  
> > net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:739)     at  
> > net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:668)     at
> > net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:901) Caused by:  
> > net.sourceforge.jnlp.LaunchException: Fatal: Application Error: The  
> > signed JNLP file did not match the launching JNLP file. Missing  
> > Resource: Signed Application did not match launching JNLP File     at
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.verifySignedJNLP(JNLPClassLoader.java:1006)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.checkForMain(JNLPClassLoader.java:845)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:659)  
> >     at
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:277)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:351)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:418)  
> >     at
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:394)  
> >     at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:704)  
> >     ... 2 more
> > net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could  
> > not initialize applet. For more information click "more information  
> > button".     at  
> > net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:739)     at  
> > net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:668)     at
> > net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:901) Caused by:  
> > net.sourceforge.jnlp.LaunchException: Fatal: Application Error: The  
> > signed JNLP file did not match the launching JNLP file. Missing  
> > Resource: Signed Application did not match launching JNLP File     at
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.verifySignedJNLP(JNLPClassLoader.java:1006)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.checkForMain(JNLPClassLoader.java:845)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:659)  
> >     at
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:277)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:351)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:418)  
> >     at
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:394)  
> >     at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:704)  
> >     ... 2 more
> > netx: Initialization Error: Could not initialize applet. (Fatal:  
> > Application Error: The signed JNLP file did not match the launching JNLP  
> > file. Missing Resource: Signed Application did not match launching JNLP  
> > File)
> > net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could  
> > not initialize applet. For more information click "more information  
> > button".     at  
> > net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:739)     at  
> > net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:668)     at
> > net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:901) Caused by:  
> > net.sourceforge.jnlp.LaunchException: Fatal: Application Error: The  
> > signed JNLP file did not match the launching JNLP file. Missing  
> > Resource: Signed Application did not match launching JNLP File     at
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.verifySignedJNLP(JNLPClassLoader.java:1006)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.checkForMain(JNLPClassLoader.java:845)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:659)  
> >     at
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:277)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:351)  
> >     at  
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:418)  
> >     at
> > net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:394)  
> >     at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:704)  
> >     ... 2 more
> > netx: Initialization Error: Could not initialize applet. (Fatal:  
> > Application Error: The signed JNLP file did not match the launching JNLP  
> > file. Missing Resource: Signed Application did not match launching JNLP  
> > File)
> > line: 23
> >
> > line: 22 </jnlp>
> > line: 21      <update check="background"/>
> > line: 20      </applet-desc>
> > line: 19          height="1">
> > line: 18          width="1"
> > line: 17          main-class="JavaDetection"
> > line: 16          name="Java Detection Applet"
> > line: 15    <applet-desc
> > line: 14     </security>
> > line: 13         <all-permissions />
> > line: 12     <security>
> > line: 11    </resources>
> > line: 10        <jar href="JavaDetection.jar" />
> > line: 9         <j2se version="1.6+"/>
> > line: 8      line: 7    <resources>
> > line: 6    </information>
> > line: 5        <vendor>Oracle Inc.</vendor>
> > line: 4        <title>Java Detection</title>
> > line: 3    <information>
> > line: 2 <jnlp href="JavaDetection_applet.jnlp" spec="1.0+">
> > <?xml version="1.0" encoding="UTF-8"?>
> > line: 23
> > line: 22 </jnlp>
> > line: 21      <update check="background"/>
> > line: 20      </applet-desc>
> > line: 19          height="1">
> > line: 18          width="1"
> > line: 17          main-class="JavaDetection"
> > line: 16          name="Java Detection Applet"
> > line: 15    <applet-desc
> > line: 14     </security>
> > line: 13         <all-permissions />
> > line: 12     <security>
> > line: 11    </resources>
> > line: 10        <jar href="JavaDetection.jar" />
> > line: 9         <j2se version="1.6+"/>
> > line: 8      line: 7    <resources>
> > line: 6    </information>
> > line: 5        <vendor>Oracle Inc.</vendor>
> > line: 4        <title>Java Detection</title>
> > line: 3    <information>
> > line: 2 <jnlp codebase="https://java.com/en/download/"  
> > href="JavaDetection_applet.jnlp" spec="1.0+">
> > <?xml version="1.0" encoding="UTF-8"?>
> > APPLICATION.JNLP has been located within signed JAR. Starting  
> > verfication...
> > Creating File InputStream from lauching JNLP file
> > Creating Jar InputStream from JarEntry
> > App already has trusted publisher: true
> > App already has trusted publisher: true
> > OU=Class 3 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US  
> > found in cacerts (/usr/local/openjdk8/jre/lib/security/cacerts)
> > CN=Oracle America\, Inc.,OU=Software Engineering,OU=Digital ID Class 3 -  
> > Java Object Signing,O=Oracle America\, Inc.,L=Redwood  
> > Shores,ST=California,C=US found in cacerts  
> > (/home/slw/.config/icedtea-web/security/trusted.certs)
> > Jar found at  
> > /home/slw/.cache/icedtea-web/cache/20/https/www.java.com/en/download/JavaDetection.jarhas  
> > been verified as SIGNED_OK
> > @ /en/download/JavaDetection.jar
> > -(DOWNLOAD)
> > +(DOWNLOADED)
> > Status: CONNECTED DOWNLOADED STARTED
> > @ /en/download/JavaDetection.jar
> > -(CONNECTING)
> > +(CONNECTED)
> > Status: CONNECTED DOWNLOAD STARTED
> > isCurrent: https://www.java.com/en/download/JavaDetection.jar = true
> > Selected proxies: [DIRECT]
> > Selecting proxy for: https://www.java.com/en/download/JavaDetection.jar
> > best url for location=https://www.java.com/en/download/JavaDetection.jar  
> > state=CONNECTING DOWNLOAD STARTED is  
> > https://www.java.com/en/download/JavaDetection.jar by HEAD
> > Key : Content-Type ,Value : [application/java-archive]
> > Key : Date ,Value : [Mon, 16 Nov 2015 16:24:33 GMT]
> > Key : Content-Length ,Value : [6852]
> > Key : Last-Modified ,Value : [Thu, 10 Oct 2013 16:12:35 GMT]
> > Key : Connection ,Value : [keep-alive]
> > Key : ETag ,Value : ["1ac4-5256d1f3"]
> > Key : Server ,Value : [Sun-Java-System-Web-Server/7.0]
> > Key : null ,Value : [HTTP/1.1 200 OK]
> > Key : Accept-Ranges ,Value : [bytes]
> > Key : X-Frame-Options ,Value : [SAMEORIGIN]
> > Your custom jre (/lib/rt.jar check) /usr/local/openjdk8 is not valid.  
> > Please fix deployment.jre.dir in your deployment.properties. In attempt  
> > to run using default one.
> > Selected proxies: [DIRECT]
> > Selecting proxy for: socket://www.java.com:443
> > Selected proxies: [DIRECT]
> > Selecting proxy for: https://www.java.com/en/download/JavaDetection.jar
> > All possible urls for  
> > location=https://www.java.com/en/download/JavaDetection.jar  
> > state=CONNECTING DOWNLOAD STARTED :  
> > [https://www.java.com/en/download/JavaDetection.jar,  
> > https://www.java.com/en/download/JavaDetection.jar]
> > @ /en/download/JavaDetection.jar
> > -(CONNECT)
> > +(CONNECTING)
> > Status: CONNECTING DOWNLOAD STARTED
> > @ /en/download/JavaDetection.jar
> > +(DOWNLOAD)
> > Status: CONNECT DOWNLOAD STARTED
> > @ /en/download/JavaDetection.jar
> > +(CONNECT)
> > Status: CONNECT STARTED
> > @ /en/download/JavaDetection.jar
> > +(STARTED)
> > Jars not ready to provide main class
> > Status: STARTED
> > Jars not ready to provide attribute Application-Name
> > New classloader:  
> > https://www.java.com/ga/applet/verify/JavaDetection_applet.jnlp
> >         result: null
> > Jars not ready to provide main class
> > Jars not ready to provide attribute Application-Name
> > Acquired shared lock on /tmp/slw/netx/locks/netx_running to indicate  
> > javaws is running
> > Jars not ready to provide main class
> > Jars not ready to provide attribute Application-Name
> > UNIQUEKEY=1447691073275-1494255588-https://www.java.com/ga/applet/verify/JavaDetection_applet.jnlp
> > Acceptable vendor tag found, contains: Oracle Inc.
> > Acceptable title tag found, contains: Java Detection
> > Jars not ready to provide attribute Application-Name
> > Description: null
> > Homepage: null
> > line: 23
> >
> > line: 22 </jnlp>
> > line: 21      <update check="background"/>
> > line: 20      </applet-desc>
> > line: 19          height="1">
> > line: 18          width="1"
> > line: 17          main-class="JavaDetection"
> > line: 16          name="Java Detection Applet"
> > line: 15    <applet-desc
> > line: 14     </security>
> > line: 13         <all-permissions />
> > line: 12     <security>
> > line: 11    </resources>
> > line: 10        <jar href="JavaDetection.jar" />
> > line: 9         <j2se version="1.6+"/>
> > line: 8      line: 7    <resources>
> > line: 6    </information>
> > line: 5        <vendor>Oracle Inc.</vendor>
> > line: 4        <title>Java Detection</title>
> > line: 3    <information>
> > line: 2 <jnlp href="JavaDetection_applet.jnlp" spec="1.0+">
> > <?xml version="1.0" encoding="UTF-8"?>
> > @ /ga/applet/verify/JavaDetection_applet.jnlp
> > -(DOWNLOAD)
> > +(DOWNLOADED)
> > Status: CONNECTED DOWNLOADED STARTED
> > @ /ga/applet/verify/JavaDetection_applet.jnlp
> > -(CONNECTING)
> > +(CONNECTED)
> > Status: CONNECTED DOWNLOAD STARTED
> > isCurrent:  
> > https://www.java.com/ga/applet/verify/JavaDetection_applet.jnlp = true
> > Selected proxies: [DIRECT]
> > Selecting proxy for:  
> > https://www.java.com/ga/applet/verify/JavaDetection_applet.jnlp
> > best url for  
> > location=https://www.java.com/ga/applet/verify/JavaDetection_applet.jnlp  
> > state=CONNECTING DOWNLOAD STARTED is  
> > https://www.java.com/ga/applet/verify/JavaDetection_applet.jnlp by HEAD
> > Key : X-Powered-By ,Value : [Servlet/2.5 JSP/2.1]
> > Key : Content-Type ,Value : [unknown]
> > Key : Content-Language ,Value : [en]
> > Key : Date ,Value : [Mon, 16 Nov 2015 16:24:33 GMT]
> > Key : Content-Length ,Value : [605]
> > Key : Last-Modified ,Value : [Fri, 09 Oct 2015 18:32:42 GMT]
> > Key : mdt-type ,Value : [abinary;charset=UTF-8]
> > Key : Connection ,Value : [keep-alive]
> > Key : Content-Disposition ,Value :  
> > [inline;filename=JavaDetection_applet.jnlp;filename*=UTF-8''JavaDetection_applet.jnlp]
> > Key : Server ,Value : [Oracle-Application-Server-11g]
> > Key : null ,Value : [HTTP/1.1 200 OK]
> > Key : X-Frame-Options ,Value : [SAMEORIGIN]
> > Selected proxies: [DIRECT]
> > Selecting proxy for: socket://www.java.com:443
> > Selected proxies: [DIRECT]
> > Selecting proxy for:  
> > https://www.java.com/ga/applet/verify/JavaDetection_applet.jnlp
> > All possible urls for  
> > location=https://www.java.com/ga/applet/verify/JavaDetection_applet.jnlp  
> > state=CONNECTING DOWNLOAD STARTED :  
> > [https://www.java.com/ga/applet/verify/JavaDetection_applet.jnlp,  
> > https://www.java.com/ga/applet/verify/JavaDetection_applet.jnlp]
> > Detected online set to: true
> > @ /ga/applet/verify/JavaDetection_applet.jnlp
> > -(CONNECT)
> > +(CONNECTING)
> > Status: CONNECTING DOWNLOAD STARTED
> > @ /ga/applet/verify/JavaDetection_applet.jnlp
> > +(DOWNLOAD)
> > Status: CONNECT DOWNLOAD STARTED
> > @ /ga/applet/verify/JavaDetection_applet.jnlp
> > +(CONNECT STARTED)
> > Status: CONNECT STARTED
> > JNLPRuntime already initialized
> > Using NetX panel
> > Read 994 entries from Firefox's preferences
> > Found preferences file: /home/slw/.mozilla/firefox/slw/prefs.js
> > Using firefox's profiles file: /home/slw/.mozilla/firefox/profiles.ini
> > Starting security dialog thread
> > Started processing of plugin-debug-to-console  
> > /tmp/icedteaplugin-slw-9yQiNG/19209-icedteanp-plugin-debug-to-appletviewer
> > Starting processing of plugin-debug-to-console  
> > /tmp/icedteaplugin-slw-9yQiNG/19209-icedteanp-plugin-debug-to-appletviewer
> > WARNING: key deployment.system.cachedir has no value, setting to default  
> > value
> > Loading User level properties from:  
> > /home/slw/.config/icedtea-web/deployment.properties
> > cache: /home/slw/.cache/icedtea-web file exists:true
> > config: /home/slw/.config/icedtea-web file exists: true
> > System is already following XDG .cache and .config specifications
> > 2:  
> > /tmp//icedteaplugin-slw-9yQiNG/19209-icedteanp-plugin-debug-to-appletviewer
> > 1: /tmp//icedteaplugin-slw-9yQiNG/19209-icedteanp-appletviewer-to-plugin
> > 0: /tmp//icedteaplugin-slw-9yQiNG/19209-icedteanp-plugin-to-appletviewer
> > startup arguments:
> > _______________________________________________
> > freebsd-java@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-java
> > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151126151335.GX31314>