Login  Register

Re: How to include JOGL in webstart?

Posted by Sven Gothel on Jan 27, 2012; 11:52am
URL: https://forum.jogamp.org/How-to-include-JOGL-in-webstart-tp3692459p3693137.html

On Friday, January 27, 2012 06:18:05 AM kitfox [via jogamp] wrote:

>
> I've been trying to include JOGL in a webstart file and been getting some
> very strange results.
>
> First of all, I've only been getting incorrect behavior on one machine.
> That machine that always fails is a desktop running Win 7 and Java 7, while
> the one that always works is a laptop running Win XP and Java 6.  So for a
> long time I thought this was due to a bug in the latest release of Java.
>
> I'm including JOGL in my webstart file using the below lines:
>
> <jnlp>
>     <resources>
>         <extension name="jogl-all-awt"
>            
> href="http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp"/>
>
> However, when I do this, my Java 7 machine keeps hammering jogamp.org trying
> to download the required files and keeps being rejected:
>
> [code]
> network: Cache entry found [url:
> http://jogamp.org/deployment/archive/rc/v2.0-rc5/jogl-all-awt.jnlp, version:
> null] prevalidated=false/0
> network: Connecting
> http://jogamp.org/deployment/archive/rc/v2.0-rc5/jogl-all-awt.jnlp with
> proxy=DIRECT
> network: Connecting socket://jogamp.org:80 with proxy=DIRECT
> network: ResponseCode for
> http://jogamp.org/deployment/archive/rc/v2.0-rc5/jogl-all-awt.jnlp : 304
> network: Encoding for
> http://jogamp.org/deployment/archive/rc/v2.0-rc5/jogl-all-awt.jnlp : null
> network: Disconnect connection to
> http://jogamp.org/deployment/archive/rc/v2.0-rc5/jogl-all-awt.jnlp
> network: JARUpdater: update check for
> http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/jogl.all.jar
> network: Connecting
> http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/jogl.all.jar with
> proxy=DIRECT
> network: Connecting socket://jogamp.org:80 with proxy=DIRECT
> network: ResponseCode for
> http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/jogl.all.jar : 304
> network: Encoding for
> http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/jogl.all.jar : null
> network: Disconnect connection to
> http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/jogl.all.jar
> network: JARUpdater: update check for

<snip/>

> Even more strangely, I have a second program which also tries to include
> JOGL in webstart with the above line.  If I attempt to load it with AVG
> antivirus active, it fails.  However if I try to load it with AVG disabled,
> the program runs.  However, attempting to run my first program with or
> without AVG enabled will fail with the above problem.
>
> Any idea what's going on?  What's the correct way to include JOGL in  a
> webstart file?

Assuming you JNLP file is correct and the resources are actually available at
  http://jogamp.org/deployment/archive/rc/v2.0-rc5/
  http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/
(they are) ..

Julien mentioned AVG anti virus has a false positive w/ JOGL :(
Other virus scanner don't have this trouble, ie. Clamv, Antivir, MS.., ..

Julien already contacted them. Lets wait for the progress in this regard,
but you may also contact AVG, maybe it helps.

Looks like disabling AVG doesn't disable its runtime scanner.

Kind regards, Sven


>
>