Can't load JSR 231 with webstart

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't load JSR 231 with webstart

kitfox
I'm getting errors trying to run the webstart at http://volumeviewer.kenai.com/.  It used to work, but when I tried it just now I got the below signing error.

I know that it's using the old JSR, but this is an old program and I'd rather not have to rewrite it just to use the more up-to-date one.  Is there something that can be done to fix the signature issue?


com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/webstart/jogl.jar
        at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source)
        at com.sun.javaws.security.SigningInfo.check(Unknown Source)
        at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)
        at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)
        at com.sun.javaws.Launcher.prepareResources(Unknown Source)
        at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
        at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
        at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
        at com.sun.javaws.Launcher.launch(Unknown Source)
        at com.sun.javaws.Main.launchApp(Unknown Source)
        at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
        at com.sun.javaws.Main$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)


<jnlp codebase="http://volumeviewer.kenai.com" href="volumeViewer.jnlp" spec="1.0+">
  <information>
    <title>Volume Viewer</title>
    <vendor>kitfox</vendor>
    <homepage href="http://volumeviewer.kenai.com"/>
    <description>View and manipulate 3D volumetric data</description>
    <description kind="short">View and manipulate 3D volumetric data</description>
    <offline-allowed/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <resources>
    <j2se version="1.6+" initial-heap-size="500M" max-heap-size="1000M"/>
    <extension href="http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/webstart/jogl.jnlp" name="jogl"/>
    <extension href="http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp"/>
    <extension href="http://download.java.net/media/jai-imageio/webstart/release/jai-imageio-1.1.jnlp"/>
    <jar href="VolumeViewerTesting.jar" main="true"/>
    <jar href="VolumeViewer.jar"/>
  </resources>
  <application-desc main-class="com.kitfox.volume.test.VolViewWebstartFrame"/>
</jnlp>


Reply | Threaded
Open this post in threaded view
|

RE: Can't load JSR 231 with webstart

Pixelapp
The program you are trying to run is unsigned and that's the problem. When you specify "all-permisions" all of your code needs to be signed in order to run. 

The problem doesn't have to do with JOGL.
-------- Original Message --------
Subject: Can't load JSR 231 with webstart
From: "kitfox [via jogamp]" <[hidden email]>
Date: Mon, June 11, 2012 12:49 pm
To: Pixelapp <[hidden email]>

I'm getting errors trying to run the webstart at http://volumeviewer.kenai.com/.  It used to work, but when I tried it just now I got the below signing error.

I know that it's using the old JSR, but this is an old program and I'd rather not have to rewrite it just to use the more up-to-date one.  Is there something that can be done to fix the signature issue?


com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/webstart/jogl.jar
        at com.sun.javaws.security.SigningInfo.getCommonCodeSignersForJar(Unknown Source)
        at com.sun.javaws.security.SigningInfo.check(Unknown Source)
        at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResourcesHelper(Unknown Source)
        at com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedResources(Unknown Source)
        at com.sun.javaws.Launcher.prepareResources(Unknown Source)
        at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
        at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
        at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
        at com.sun.javaws.Launcher.launch(Unknown Source)
        at com.sun.javaws.Main.launchApp(Unknown Source)
        at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
        at com.sun.javaws.Main$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)


<jnlp codebase="http://volumeviewer.kenai.com" href="volumeViewer.jnlp" spec="1.0+">
  <information>
    <title>Volume Viewer</title>
    <vendor>kitfox</vendor>
    <homepage href="http://volumeviewer.kenai.com"/>
    <description>View and manipulate 3D volumetric data</description>
    <description kind="short">View and manipulate 3D volumetric data</description>
    <offline-allowed/>
  </information>
  <security>
    <all-permissions/>
  </security>
  <resources>
    <j2se version="1.6+" initial-heap-size="500M" max-heap-size="1000M"/>
    <extension href="http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/webstart/jogl.jnlp" name="jogl"/>
    <extension href="http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp"/>
    <extension href="http://download.java.net/media/jai-imageio/webstart/release/jai-imageio-1.1.jnlp"/>
    <jar href="VolumeViewerTesting.jar" main="true"/>
    <jar href="VolumeViewer.jar"/>
  </resources>
  <application-desc main-class="com.kitfox.volume.test.VolViewWebstartFrame"/>
</jnlp>





If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/Can-t-load-JSR-231-with-webstart-tp4025184.html
To start a new topic under jogl, email [hidden email]
To unsubscribe from jogl, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

RE: Can't load JSR 231 with webstart

kitfox
The program is signed, and has been for quite some time.  I've run this program many times before under webstart.  I haven't run it for a few months, which is why I was surprised to find it not working when I checked on it again just now.
Reply | Threaded
Open this post in threaded view
|

RE: Can't load JSR 231 with webstart

kitfox
I just downloaded http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/webstart/jogl.jar and peeked inside.  It's not signed.  META-INF has a manifest and that's all.
Reply | Threaded
Open this post in threaded view
|

RE: Can't load JSR 231 with webstart

Xerxes Rånby

Oracle have stopped signing their jogl builds when Oracle dropped support for Java3D and jogl. You should use jogl from JogAmp instead if you want to use pre signed jars. http://jausoft.com/blog/2011/09/22/oracle-gives-up-on-java3d-and-jogl-for-ria-webstart-and-applets/


2012-06-12 07:52 skrev kitfox [via jogamp]:

I just downloaded http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/webstart/jogl.jar and peeked inside.  It's not signed.  META-INF has a manifest and that's all.


If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/Can-t-load-JSR-231-with-webstart-tp4025184p4025191.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

RE: Can't load JSR 231 with webstart

gouessej
Administrator
In reply to this post by kitfox
Hi

Xerces is right and I already told some months ago that Oracle stopped signing JOGL 1.1.1a.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

RE: Can't load JSR 231 with webstart

kitfox
Is Oracle officially supporting any 3D in Java now?
Reply | Threaded
Open this post in threaded view
|

RE: Can't load JSR 231 with webstart

Pixelapp
Judging by the fact that java stopped signing JOGL1 and hasn't reached out to Jogamp.org. I'll say they are not supporting any 3D.

But I guess you can call Java Fx a non-powerful 3D, which is currently supported.
-------- Original Message --------
Subject: RE: Can't load JSR 231 with webstart
From: "kitfox [via jogamp]" <[hidden email]>
Date: Tue, June 12, 2012 5:55 am
To: Pixelapp <[hidden email]>

Is Oracle officially supporting any 3D in Java now?


If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/Can-t-load-JSR-231-with-webstart-tp4025184p4025195.html
To start a new topic under jogl, email [hidden email]
To unsubscribe from jogl, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

RE: Can't load JSR 231 with webstart

gouessej
Administrator
In reply to this post by kitfox
PixelApp is right but it is difficult to know what is in JavaFX as it has not yet been open sourced. JavaFX 1.3 uses JOGL 1 but maybe it is no more the case of JavaFX 2.0. I don't know the plans of Oracle, JavaFX Scenegraph API source code has been released in the beginning of the year.
Julien Gouesse | Personal blog | Website