• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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: 28177
95
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic