• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

certificate error

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
I am working on a applet which accesses twitter, it uses cross domain access, I am developing this applet in netbeans IDE, I select a option to run as web start, and self sign, so it solve a problem of cross domain, but now i am geting other error when run in IE browser but working perfectly fine in safari.

Error

--------------------------------------------------------------------------------
exception: JAR resources in JNLP file are not signed by same certificate.
JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
<jnlp spec="1.0+" codebase="file:/C:/Developement/TwitterDashboardApp/dist/" href="file:/C:/Developement/TwitterDashboardApp/dist/launch.jnlp">
<information>
<title>TwitterDashboardApp</title>
<vendor>Tom</vendor>
<homepage href="null"/>
<description>TwitterDashboardApp</description>
<description kind="short">TwitterDashboardApp</description>
</information>
<security>
<all-permissions/>
</security>
<update check="always" policy="always"/>
<resources>
<java java-vm-args="-Djava.security.policy=applet.policy" version="1.5+"/>
<jar href="file:/C:/Developement/TwitterDashboardApp/dist/TwitterDashboardApp.jar" download="eager" main="true"/>
<jar href="file:/C:/Developement/TwitterDashboardApp/dist/lib/twitter4j-core-2.1.7-SNAPSHOT.jar" download="eager" main="false"/>
</resources>
<applet-desc name="TwitterDashboardApp" main-class="TwitterApplet" documentbase="file:/C:/Developement/TwitterDashboardApp/dist/launch.html" width="300" height="300"/>
</jnlp> ]
at com.sun.javaws.LaunchDownload.checkSignedResourcesHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.checkSignedResources(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
<jnlp spec="1.0+" codebase="file:/C:/Developement/TwitterDashboardApp/dist/" href="file:/C:/Developement/TwitterDashboardApp/dist/launch.jnlp">
<information>
<title>TwitterDashboardApp</title>
<vendor>Tom</vendor>
<homepage href="null"/>
<description>TwitterDashboardApp</description>
<description kind="short">TwitterDashboardApp</description>
</information>
<security>
<all-permissions/>
</security>
<update check="always" policy="always"/>
<resources>
<java java-vm-args="-Djava.security.policy=applet.policy" version="1.5+"/>
<jar href="file:/C:/Developement/TwitterDashboardApp/dist/TwitterDashboardApp.jar" download="eager" main="true"/>
<jar href="file:/C:/Developement/TwitterDashboardApp/dist/lib/twitter4j-core-2.1.7-SNAPSHOT.jar" download="eager" main="false"/>
</resources>
<applet-desc name="TwitterDashboardApp" main-class="TwitterApplet" documentbase="file:/C:/Developement/TwitterDashboardApp/dist/launch.html" width="300" height="300"/>
</jnlp> ]
 
Marshal
Posts: 27368
88
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The error message says that the jars in the applet weren't signed by the same certificate.

From your XML it looks like there are two jars.

So, the obvious question: Did you sign both of those jars with the same certificate? IE says that you didn't. And your post fails to provide any details about that.
 
Tom Price
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Both of the Jar files were signed automatically by NetBeans, which was acheived by selecting the self sign option - Unless I have misunderstood this.
Sorry for not being clearer initially.
 
And will you succeed? Yes you will indeed! (98 and 3/4 % guaranteed) - Seuss. tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic