Some demos are not working anymore

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

Some demos are not working anymore

gouessej
Administrator
Hi

I assume Sven already knows applets using JNLP do not work with OpenJDK. However, even this demo using Java Web Start doesn't work anymore:
http://jogamp.org/deployment/jogamp-current/jogl-demos/VertexBufferObject.jnlp

I cannot show the Java console, I don't know what is wrong. Best regards.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Some demos are not working anymore

Sven Gothel
Administrator
On 06/20/2012 08:45 PM, gouessej [via jogamp] wrote:
> Hi
>
> I assume Sven already knows applets using JNLP do not work with OpenJDK.
> However, even this demo using Java Web Start doesn't work anymore:
> http://jogamp.org/deployment/jogamp-current/jogl-demos/VertexBufferObject.jnlp
>

Hmm .. that doesn't here either (Oracle ..), no output, even w/
log & debug enabled etc.

Gears, Shadow, etc .. work though ..

~Sven



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

RE: Some demos are not working anymore

Pixelapp
I got to ask. What are you doing at Oracle Sir?Laughing
Reply | Threaded
Open this post in threaded view
|

Re: Some demos are not working anymore

Sven Gothel
Administrator
On 06/21/2012 12:30 AM, Pixelapp [via jogamp] wrote:
> I got to ask. What are you doing at Oracle Sir?Laughing
>

Here .. in the Oracle JVM .. :)

Yeah well .. still is the 1st JRE when it comes to
Applets and JNLP ..

~Sven


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

Re: Some demos are not working anymore

gouessej
Administrator
In reply to this post by Sven Gothel
Ok I'm going to investigate a bit.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Some demos are not working anymore

Sven Gothel
Administrator
On 06/21/2012 09:58 AM, gouessej [via jogamp] wrote:
> Ok I'm going to investigate a bit.

Debug output of Applet's and JNLP related:

Thanks to your heads up, I figured out
that I have broken GlueGen's [and hence all]
property parsing in PropertyAccess using the 'jnlp.' prefix.
Abstract:

Usually you set a property like
  jogamp.debug.IOUtil
  jogamp.debug=all
to enable either IOUtil debugging or all debugging.

In case you use Applets or JNLP you cannot use above
property namespace, since it's considered insecure.
GlueGen would allow you to use an 'jnlp.' alias, e.g.:
  jnlp.jogamp.debug.IOUtil
  jnlp.jogamp.debug=all

The latter are secure properties and will be passed to the invoked JVM.

However, I broke that logic in GlueGen w/ commit
f4ac27e177f6deb444280d3b375e7d343e38bd08.

Fixing it right now ..
https://jogamp.org/bugzilla/show_bug.cgi?id=591

~Sven


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

Re: Some demos are not working anymore

gouessej
Administrator
Reply | Threaded
Open this post in threaded view
|

Re: Some demos are not working anymore

Sven Gothel
Administrator
On 06/21/2012 10:38 AM, gouessej [via jogamp] wrote:
> Please use my fix for the broken demo:
> https://github.com/gouessej/jogl-demos/commit/458befac7d018096e227013c953c8433819f6fb3
>

right, .. I am already cleaning up all demos and remove the offending

- jnlp argument: NotFirstUIActionOnProcess
- all GLProfile.initSingleton(boolean) calls

again - thx for the heads up ..

~Sven



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

Re: Some demos are not working anymore

gouessej
Administrator
You're welcome. I've just posted the JNLP file for Angeles demo but I don't know why 'f' and 'd' are not working:
https://jogamp.org/bugzilla/show_bug.cgi?id=535

It would be fine to put a link to this file to give another solution for people using OpenJDK like me.

Lol it is faster than its WebGL equivalent.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Some demos are not working anymore

Sven Gothel
Administrator
On 06/21/2012 12:14 PM, gouessej [via jogamp] wrote:
> You're welcome. I've just posted the JNLP file for Angeles demo but I don't
> know why 'f' and 'd' are not working:
> https://jogamp.org/bugzilla/show_bug.cgi?id=535
>

Will do .. Saturday.

Here is a signed prebuild:

<http://jogamp.org/deployment/archive/master/gluegen_566-joal_339-jogl_765-jocl_633-signed/>
<http://jogamp.org/deployment/archive/master/gluegen_566-joal_339-jogl_765-jocl_633-signed/jogl-demos/>

You can now also use the debug properties.

~Sven

> It would be fine to put a link to this file to give another solution for
> people using OpenJDK like me.

Yes .. I hear you.
Feel free to edit the jogl-applet-test page and add JNLP launchers ..

~Sven

> Julien Gouesse
> http://tuer.sourceforge.net
> http://gouessej.wordpress.com


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

Re: Some demos are not working anymore

Sven Gothel
Administrator
In reply to this post by gouessej
On 06/22/2012 02:19 AM, Sven Gothel wrote:
>
> Here is a signed prebuild:
>
> <http://jogamp.org/deployment/archive/master/gluegen_566-joal_339-jogl_765-jocl_633-signed/>
> <http://jogamp.org/deployment/archive/master/gluegen_566-joal_339-jogl_765-jocl_633-signed/jogl-demos/>

I forgot to mention, since we use
  <update check="background" policy="always"/>

in our JNLP files, you either:
 - javaws -uninstall # cleans cache
 - or launch it twice - after waiting 'a while' at the 1st start :)

We may need this to change .. dunno

~Sven



signature.asc (910 bytes) Download Attachment