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> ]