Hello,
I want to deploy a JOGL applet on a closed network with no internet access, hence I cannot download the standard jars at launch time. As an experiment I used the Gears Applet demo and created a jnlp file base on those in the demo. This file is shown below. I also downloaded all the jars and put them in the site root. This should in theory allow me to deploy the app and all the relevant jars. However, when I try to launch the app I get the following error: exception: Found unsigned entry in resource: http://localhost/at/jogl-demos.jar. com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://localhost/at/jogl-demos.jar at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source) It seems as though I am experiencing some kind of security error here. Does anyone know if it is possible to do this type of thing, ie. deploy the sun jars from a local webserver, or is this a security violation? Or have I just made a mistake in my JNLP file? Any other suggestion as to how I might get this to work? Thanks, Chris -- index.hmtl -- <html> <body> <applet width="100%" height="100%" code="demos.applets.GearsApplet"> </applet> </body> </html> -- applet-gears.jnlp -- <?xml version="1.0" encoding="utf-8"?> <jnlp codebase="http://localhost/at" href="applet-gears.jnlp"> <information> <title>Title</title> <vendor>Vendor</vendor> <homepage href="http://homepage"/> <description>Description</description> <description kind="short">Description</description> <offline-allowed/> </information> <update check="background" policy="always"/> <security> <all-permissions/> </security> <resources> <j2se href="http://java.sun.com/products/autodl/j2se" version="1.6+"/> <property name="sun.java2d.noddraw" value="true"/> <jar href="jogl-demos.jar" main="true"/> <jar href="jogl-demos-util.jar"/> <jar href="newt.all.jar"/> <jar href="jogl.all.jar"/> <jar href="gluegen-rt.jar"/> <jar href="nativewindow.all.jar"/> </resources> <resources os="Windows" arch="x86"> <nativelib href = "newt-natives-windows-i586.jar" /> </resources> <resources os="Windows" arch="amd64"> <nativelib href = "newt-natives-windows-amd64.jar" /> </resources> <resources os="Windows" arch="x86_64"> <nativelib href = "newt-natives-windows-amd64.jar" /> </resources> <resources os="Linux" arch="i386"> <nativelib href = "newt-natives-linux-i586.jar" /> </resources> <resources os="Linux" arch="x86"> <nativelib href = "newt-natives-linux-i586.jar" /> </resources> <resources os="Linux" arch="amd64"> <nativelib href = "newt-natives-linux-amd64.jar" /> </resources> <resources os="Linux" arch="x86_64"> <nativelib href = "newt-natives-linux-amd64.jar" /> </resources> <resources os="Mac OS X" arch="i386"> <nativelib href = "newt-natives-macosx-universal.jar" /> </resources> <resources os="Mac OS X" arch="x86_64"> <nativelib href = "newt-natives-macosx-universal.jar" /> </resources> <applet-desc name="Gears-Applet" main-class="demos.applets.GearsApplet" width="300" height="300"> </applet-desc> </jnlp> |
Administrator
|
On Monday, December 13, 2010 23:55:20 chris0 [via jogamp] wrote:
> <security> > <all-permissions/> > </security> > don't do this for the demo, your unsigned gears applet. only do this for the signed extensions! ~Sven |
Administrator
|
Or sign all jars if you really need all permissions.
Julien Gouesse | Personal blog | Website
|
Free forum by Nabble | Edit this page |