Can't run JOGL over webstart

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

Can't run JOGL over webstart

kitfox
I'm having a really strange situation where one of my JOGL-using programs is unable to run on one of my machines under webstart.  I've been having an ongoing discussion with a tech support at Oracle who thinks the problem is in loading JOGL.

I've written two apps that use JOGL.  The first, Raven Studio, runs fine on my desktop as a standalone jar and runs fine under webstart on my laptop.  However, when I try to run it as a webstart app on my desktop, it hangs during loading.  The second program (with the bunny) - which uses a subset of the jars of the first one - runs fine in all three environments.  

http://raven.java.net/apps/studio/index.html
http://raven.java.net/coyoteGraphics/demo.html

Initially neither would work on my desktop due to AVG anti virus causing problems.  I've uninstalled AVG and now the second app is working but the first is not (although it does hang at a different place during loading).

I really don't know what's going on here.  Do you have any idea why that first webstart is hanging during startup on only one of my machines?
Reply | Threaded
Open this post in threaded view
|

Re: Can't run JOGL over webstart

gouessej
Administrator
This post was updated on .
Hi

Why does mine work?
http://tuer.sourceforge.net/very_experimental/tuer.jnlp
My application has been tested under GNU Linux, Microsoft Windows 7 and Mac OS X.

Your applications work fine here under GNU Linux and with the JRE 1.6 update 30.

Edit.: Your bug has nothing to do with JOGL as you already reproduce it with a Swing demo. Oracle engineers should not say the problem comes from JOGL.

Edit.2: This is clearly a regression in Java:
https://forums.oracle.com/forums/thread.jspa?threadID=2313709
"Your application comes up perfectly well on my Windows 7 machine. I'm not using XP compatibility mode"
"One difference is that I don't have Java 7 on this machine, and my Java plugin is still Java 6."
Something keeps locked during the loading of the image.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Can't run JOGL over webstart

kitfox
Good question.  And the weird thing is that if I start Raven Studio, then start your program, and then exit your program, then Raven Studio will have started in the background!  This isn't simply a matter of waiting for the download to complete - I actually have to start your program before Raven Studio starts.

I'm guessing the difference is that you are supplying the jars or native libs on your server.  I'm going to have to try serving the jogl libs from my machine instead of using

<jnlp>
    <resources>
        <extension name="jogl-all-awt"
            href="http://jogamp.org/deployment/archive/rc/v2.0-rc5/jogl-all-awt.jnlp"/>
Reply | Threaded
Open this post in threaded view
|

Re: Can't run JOGL over webstart

gouessej
Administrator
Lol TUER even kills Java Web Start freezes.

That's what I do, I put everything onto my own server.

I phoned AVG France a few minutes ago, I'm going to solve this problem. Best regards.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Can't run JOGL over webstart

Sven Gothel
Administrator
In reply to this post by kitfox
On Friday, January 27, 2012 04:06:46 PM kitfox [via jogamp] wrote:

>
> Good question.  And the weird thing is that if I start Raven Studio, then
> start your program, and then exit your program, then Raven Studio will have
> started in the background!  This isn't simply a matter of waiting for the
> download to complete - I actually have to start your program before Raven
> Studio starts.
>
> I'm guessing the difference is that you are supplying the jars or native
> libs on your server.  I'm going to have to try serving the jogl libs from my
> machine instead of using
>
> <jnlp>
>     <resources>
>         <extension name="jogl-all-awt"
>            
> href="http://jogamp.org/deployment/archive/rc/v2.0-rc5/jogl-all-awt.jnlp"/>
>

It should not make a difference, but the JNLP w/ Launcher fallback demo (working):

  <http://jogamp.org/deployment/jogamp-current/jogl-applet-runner-newt-gears-normal.html>

uses the JNLP URL:

  <http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp>

which is the 'official' URL (you may replace 'jogamp-current' w/ another version
accessible via: <http://jogamp.org/deployment/>

Actually both are symbolic links to the subfolder within 'archive' ..

However, I like to advertise the NApplet launcher method w/o JNLP:

<http://jogamp.org/deployment/jogamp-current/jogl-applet-runner-newt-gears-normal-napplet.html>

which is pretty much more straight forward and has no JNLP requirements.

Also note: The JNLP lauching method may not update the JAR files when you start the
           applet/application, but only in background.
           Clean your cache and see if this did the trick.
           The above NApplet method cures this bug as well ..

Please look at the html codes, maybe you don't use the 'object' tags ?

Sorry .. just a few pointers here. However the jogl-test applet page works for most of us.

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: Can't run JOGL over webstart

Sven Gothel
Administrator
In reply to this post by gouessej
On Friday, January 27, 2012 04:16:56 PM gouessej [via jogamp] wrote:
>
> Lol TUER even kills Java Web Start freezes.
NApplet launching method does not work ?

>
> That's what I do, I put everything onto my own server.

If jogamp's deployment does not work,
we should fix it .. please help nailing down the problem, if exist.

>
> I phoned AVG France a few minutes ago, I'm going to solve this problem. Best
> regards.

Thank you!

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: Can't run JOGL over webstart

gouessej
Administrator
I never use NApplet. By the way, please contact Riven on JavaGaming, he needs someone to create a small applet using JOGL, I'm really too busy to do it now, I don't feel comfortable with applets and our competitor will provide one, we should not stay behind.

I sent to AVG France an archive containing all native libraries used in the latest autobuild. I hope that the next threat update will fix our problem.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Can't run JOGL over webstart

Sven Gothel
Administrator
On Friday, January 27, 2012 05:07:09 PM gouessej [via jogamp] wrote:
>
> I never use NApplet. By the way, please contact Riven on JavaGaming, he needs
> someone to create a small applet using JOGL, I'm really too busy to do it
> now, I don't feel comfortable with applets and our competitor will provide
> one, we should not stay behind.

Hmm .. well, we have a few Applets in our repo and demonstrating them online.
Even though .. shoot him my email address or give me his so we can get in touch,
I don't have his email address. Sure I will help.

>
> I sent to AVG France an archive containing all native libraries used in the
> latest autobuild. I hope that the next threat update will fix our problem.

Awesome - thank you.

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: Can't run JOGL over webstart

kitfox
In reply to this post by Sven Gothel
<http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp>  was the JNLP reference I was using originally, but it was failing, so I switched to the other one.  Either way, I need to run Tuer first to get Raven Studio to work.

The NApplet demos didn't work the first time I tried them, but after reloading the page a couple of times they worked.  I noticed that even though one of them references a JNLP file, it also includes all the critical jars directly in its "archive" parameter.
Reply | Threaded
Open this post in threaded view
|

Re: Can't run JOGL over webstart

gouessej
Administrator
Hi

AVG France has just answered me. One of its engineer asks me some questions, I need some more information. Which component of AVG detects JOGL as a virus? The resident shield? The link scanner? The identity protection?

Can you make a screen capture of the warning?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Can't run JOGL over webstart

kitfox

 

I don't know.  My app simply hangs during loading.  There are no error messages.  I only realized AVG could be the problem by reading the Jogamp forums.

Mark

 


Subject: Re: Can't run JOGL over webstart
Date: Sat, 28 Jan 2012 09:59:19 -0800 (PST)
From: "gouessej [via jogamp]" <[hidden email]>
To: kitfox <[hidden email]>

Hi

AVG France has just answered me. One of its engineer asks me some questions, I need some more information. Which component of AVG detects JOGL as a virus? The resident shield? The link scanner? The identity protection?

 


If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/Can-t-run-JOGL-over-webstart-tp3693408p3696212.html
To unsubscribe from Can't run JOGL over webstart, click here.
NAML