JOGL Webstart seems to be broke?

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

JOGL Webstart seems to be broke?

Tom Naps
It seems that Webstart-ed JOGL applications that have been running reliably for years now fail when resources referenced in the JNLP file are given by:

    <extension name="jogl" href="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp" />

Try for example http://java.sun.com/products/jfc/tsc/articles/jcanyon/jcanyon.jnlp.   (I can provide many more examples that also once worked and now don't.)

The error that we get on start-up is "com.sun.deploy.net.JARSigningException: Found unsigned entry in resource: http://download.java.net/media/jogl/builds/archive/jsr-231-1.x-webstart-current/jogl.jar"

When I check the directory tree at http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current, I notice that the jar files there were update on September 17, 2011 -- precisely the date that this error started to appear.   Perhaps someone uploaded unsigned jars to this site.   Any guidance or advice would be appreciated since we rely heavily on JOGL webstart working.

Thanks,
Tom Naps
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Webstart seems to be broke?

Sven Gothel
Administrator
On Sunday, September 18, 2011 12:04:39 AM Tom Naps [via jogamp] wrote:
>
> It seems that Webstart-ed JOGL applications that have been running reliably
> for years now fail when resources referenced in the JNLP file are given by:
>
>     <extension name="jogl"
> href="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp"
> />

We don't maintain the previous version of JOGL any more,
which last check-in happened around 2009 ?
(All java.net or kenai.org stuff .. is obsolete)

What we do support is http://jogamp.org's version of JOGL
which is actively developed.

See <http://jogamp.org/jogl/> and a direct applet test page
is available here <http://jogamp.org/deployment/jogamp-next/jogl-test-applets.html>


>
> Try for example
> http://java.sun.com/products/jfc/tsc/articles/jcanyon/jcanyon.jnlp.   (I can
> provide many more examples that also once worked and now don't.)
>
> The error that we get on start-up is
> "com.sun.deploy.net.JARSigningException: Found unsigned entry in resource:
> http://download.java.net/media/jogl/builds/archive/jsr-231-1.x-webstart-current/jogl.jar"
>
> When I check the directory tree at
> http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current,
> I notice that the jar files there were update on September 17, 2011 --
> precisely the date that this error started to appear.   Perhaps someone
> uploaded unsigned jars to this site.   Any guidance or advice would be
> appreciated since we rely heavily on JOGL webstart working.

Well .. maybe a clueless attempt to update the JAR's signature/signing
since it may have expired. But the source code repositories are very old,
ie. no active development.

Please feel welcomed to enjoy and participate here.

>
> Thanks,
> Tom Naps

Cheers, Sven
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Webstart seems to be broke?

Lachlan James
So what does that mean?  If someone was able to "update" the signature of the old version of the jogl.jar on September 17, can they also perhaps go back and update the signature properly this time, so everything works for those of us that still rely on it??  So that we don't keep getting message (and annoyed users bombarding us) re "exception: Found unsigned entry in resource: http://download.java.net/media/jogl/builds/archive/jsr-231-1.x-webstart-current/jogl.jar".

Or, alternatively, is there a directly turn-key replacement URL that we can use instead of: http://download.java.net/media/jogl/builds/archive/jsr-231-1.x-webstart-current/jogl.jar  ???

Many thanks

Lachlan
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Webstart seems to be broke?

Lachlan James
In reply to this post by Sven Gothel
So what does that mean?  If someone was able to "update" the signature of the old version of the jogl.jar on September 17, can they also perhaps go back and update the signature properly this time, so everything works for those of us that still rely on it??  So that we don't keep getting message (and annoyed users bombarding us) re "exception: Found unsigned entry in resource: http://download.java.net/media/jogl/builds/archive/jsr-231-1.x-webstart-current/jogl.jar".

Or, alternatively, is there a directly turn-key replacement URL that we can use instead of: http://download.java.net/media/jogl/builds/archive/jsr-231-1.x-webstart-current/jogl.jar  ???

Many thanks

Lachlan
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Webstart seems to be broke?

Sven Gothel
Administrator
In reply to this post by Lachlan James
On Wednesday, October 05, 2011 04:07:42 PM Lachlan James [via jogamp] wrote:

>
> So what does that mean?  If someone was able to "update" the signature of the
> old version of the jogl.jar on September 17, can they also perhaps go back
> and update the signature properly this time, so everything works for those
> of us that still rely on it??  So that we don't keep getting message (and
> annoyed users bombarding us) re "exception: Found unsigned entry in
> resource:
> http://download.java.net/media/jogl/builds/archive/jsr-231-1.x-webstart-current/jogl.jar".
>
> Or, alternatively, is there a directly turn-key replacement URL that we can
> use instead of:
> http://download.java.net/media/jogl/builds/archive/jsr-231-1.x-webstart-current/jogl.jar 
> ???

Someone somewhere maybe yes, sure.

The whole story about the 'someone':
  http://jausoft.com/blog/2011/09/22/oracle-gives-up-on-java3d-and-jogl-for-ria-webstart-and-applets/

Why isn't jogamp.org offering a signed old version ?
Because we don't maintain it, but support the new one:
  http://jogamp.org/deployment/jogamp-current/jogl-test-applets.html
  http://www.youtube.com/user/sgothel

If you wan't to be the someone who supports the old version,
you can do it of course.

~Sven

>
> Many thanks
>
> Lachlan
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Webstart seems to be broke?

gouessej
Administrator
In reply to this post by Lachlan James
Hi James

I understand your position as I used the URL you're talking about for years. Now, I deploy JOGL on my own server, I sign the JARs by myself, it works even better than when I relied on Oracle servers. Sven tried to explain to you that we have no control on Oracle servers, we are not Oracle's employees, JogAmp (including JOGL) is a community project, we do our best. We do not maintain JOGL 1.1.1a and I have personally suggested to all JOGL users to switch to JOGL 2.0 for several years in order to avoid such problems.

You should host JOGL 1.1.1a JARs and native libraries on your own server as I explained here:
http://www.java-gaming.org/topics/n-b-quot-old-quot-jogl-1-1-1-jars-are-unsigned-since-september-17th-2011/24806/msg/210832/view.html#msg210832

After that, you should plan to switch to JOGL 2. Take care as it is not a drop-in replacement of JOGL 1.1.1a, the public API has changed, your source code would need to be adapted. If you need some help to make such a port, let us know. Best regards.
Julien Gouesse | Personal blog | Website
GP
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Webstart seems to be broke?

GP
I know this is an older thread.  But it is still very pertinent and bears a remark.  Those of us that are trying to learn openGL and JOGL rely on sample code and tutorials to learn how to develop our own code.  Therefore it is EXTREMELY important that we have access to working code and tutorials that work in order to use your tools.  Open source or not it becomes just as important that you provide working examples.

I have downloaded and gone through several tutorials now just to find they are full of syntax errors or won't load or any number of problems.  And in my searches through various forums all I see is "We don't support that version any more."  Fine, then provide us with some examples for the current versions of the JOGAMP apis that DO work.

It does no good for you to forge on with new interfaces, new capabilities and all sorts of features if we have no instructions on how to use them.  And most developers DO NOT HAVE THE TIME to go through the code line by line and try to figure out how the code works!!

Is there somewhere that we can go that has current, working examples of using JOGL in an actual windows environment?
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Webstart seems to be broke?

Sven Gothel
Administrator
On 04/19/2012 04:29 PM, GP [via jogamp] wrote:

> I know this is an older thread.  But it is still very pertinent and bears a
> remark.  Those of us that are trying to learn openGL and JOGL rely on sample
> code and tutorials to learn how to develop our own code.  Therefore it is
> EXTREMELY important that we have access to working code and tutorials that
> work in order to use your tools.  Open source or not it becomes just as
> important that you provide working examples.
>
> I have downloaded and gone through several tutorials now just to find they are
> full of syntax errors or won't load or any number of problems.  And in my
> searches through various forums all I see is "We don't support that version
> any more."  Fine, then provide us with some examples for the current versions
> of the JOGAMP apis that DO work.
>
> It does no good for you to forge on with new interfaces, new capabilities and
> all sorts of features if we have no instructions on how to use them.  And most
> developers DO NOT HAVE THE TIME to go through the code line by line and try to
> figure out how the code works!!
>
> Is there somewhere that we can go that has current, working examples of using
> JOGL in an actual windows environment?
You might have noticed the JOGL page itself
and the applet tests w/ JNLP ?

<http://jogamp.org/deployment/jogamp-current/jogl-test-applets.html>

I posted this already ..

The code for above demos/tests is included in the jogl git repository,
which is linked at http://jogamp.org.

Nothing is hidden, all is documented, everything has source code
and API docs and is working.

+++

All jogl-demos are working as well.

+++

I really don't see a problem here.

~Sven


signature.asc (910 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Webstart seems to be broke?

Wade Walker
Administrator
In reply to this post by GP
GP wrote
I have downloaded and gone through several tutorials now just to find they are full of syntax errors or won't load or any number of problems.  And in my searches through various forums all I see is "We don't support that version any more."  Fine, then provide us with some examples for the current versions of the JOGAMP apis that DO work.
Hi GP,

I wrote a tutorial a while back on how to set up a Java Web Start app using JOGL 2. It's at http://jogamp.org/wiki/index.php/Using_JOGL_in_Java_Web_Start. I cleaned it up a little just now, and as far as I know it's accurate and up-to-date. If you have any problems using it, just let me know and I'll fix them.
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Webstart seems to be broke?

gouessej
Administrator
In reply to this post by GP
Hi

You don't need to use upper case letters to explain anything here. At first, I remind you that I contacted a lot of webmasters who haven't yet updated their tutorials and still use JOGL 1. We are not responsible of this situation, we cannot force them to do anything, some of them didn't even spend some time to answer me, one of them dared to answer me that he has no time to update his tutorial, even to put a small message to warn his readers about this problem. We already do our best. What is wrong? We provide a lot of examples here:
https://github.com/sgothel/jogl-demos

All examples of the red book have been ported to JOGL 2.0. Isn't that enough for you?

Instead of complaining here, why don't you contact the concerned webmasters as I did? Some of them only wrote tutorials to get much traffic on their websites, they don't mind causing troubles to beginners by not updating their examples, they don't mind harming our project by confusing programmers who want to learn JOGL. We already provide several tutorials relying on JOGL 2.0 in the wiki, have you looked at them?
http://jogamp.org/wiki/index.php/Jogl_Tutorial

This is an open source project leaded by a community, we are not your slaves, you're not our "client", we spend some of our spare time to contribute to this project, you should not demand anything, you could at least be polite with us. I find your comment quite agressive whereas we are a friendly community, you don't need to behave like that, it's counterproductive, it doesn't encourage us to help you, it's quite the opposite.

Yes I wrote in various forums that JOGL 1 is no more supported, what's wrong with that? Mickael wrote something about profiles and new interfaces here:
http://michael-bien.com/mbien/entry/jogl_2_opengl_profiles_explained

Our examples work fine under GNU Linux, Mac OS X, OpenSolaris and Microsoft Windows. Some of them even work on Android.

In my humble opinion, some advises about porting code to JOGL 2 have been put into the next version of the main JOGL user guide and developers are welcome to come here to ask some help to port existing examples but if they don't have any time to go through the code, maybe they should give up computer programming.

I'm sorry to be harsh but please make an effort to understand my position. You come here to complain about obsolete tutorials that are not under our control, you pretend that we don't have already provided working examples for JOGL 2.0 whereas it isn't the case, you abuse of upper case letters and exclamation marks, you're quite agressive whereas we do nothing wrong. Have you looked at the activity of the repositories on Github? Do you realize that several people here spend hours every day to improve JogAmp? I ported several engines and APIs to JOGL 2.0 (Ardor3D, Java3D, Xith3D, JMonkeyEngine 3, Nifty GUI), I wrote a tutorial about JOGL 2.0 and Ardor3D on my personal blog, I have done lots of efforts on my own open source project to allow people to reuse it (the project contains all dependencies, the whole build is fully automatized including the creation of the JNLP file, there are no settings, there are detailed instructions to use it here) and some people like you are always saying that it is not enough, that we don't do enough things to ease OpenGL programming with Java. If you really like computer programming, you have to be ready to spend some time to learn. If you expect from other developers to always do lots of things to ease everything because you refuse solving problems by yourself, you will never become a pedagogically autonomous developer. Sometimes, I just want to say enough is enough. Best regards.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: JOGL Webstart seems to be broke?

Sven Gothel
Administrator
On 04/20/2012 01:18 AM, gouessej [via jogamp] wrote:
> Hi

<snip/>

First of all, I completely agree with Julien's assessment, see below.

> Yes I wrote in various forums that JOGL 1 is no more supported, what's wrong
> with that? Mickael wrote something about profiles and new interfaces here:
> http://michael-bien.com/mbien/entry/jogl_2_opengl_profiles_explained

The source: <http://jogamp.org/jogl/doc/Overview-OpenGL-Evolution-And-JOGL.html>

> If you expect from other
> developers to always do lots of things to ease everything because you refuse
> solving problems by yourself, you will never become a pedagogically autonomous
> developer. Sometimes, I just want to say enough is enough.

In my long years of software development and life in general,
I got in touch [in this regard] with two types of people.
One is pro-active and the other often just destroys things due to
procrastination and negative remarks without the will to better the situation.
The passive folks often just ask how they can do this and that, and in case
no response in their liking is given they feel upset, as it is with your case
here.
IMHO it's always best to question yourself first than attacking the world.
Maybe given advise actually answers the questions you had, but you need to
think about them a bit harder?
Often a reply which doesn't contain certain information you requested
is itself valuable information - meaning it doesn't exist.

Then - you hardly will receive cooperation while yelling at folks,
or by being silent. It is for sure a fine line to walk and we all
often had near misses in this regard :)

IMHO a software engineer implies autonomy, you have to be able to
gather information, process them and apply it.
Usually this is the 'art' .. just using a language alone
won't help today anymore. It's all about putting the pieces together
and to communicate.

If you have valuable input for us, how we can do our part better,
you are more than welcome to give us your insights and ideas.
Maybe you even like to produce such information yourself ?

Cheers & all the best, Sven


signature.asc (910 bytes) Download Attachment