How to include JOGL in webstart?

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

How to include JOGL in webstart?

kitfox
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 http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/jogl-all-natives-windows-i586.jar
network: Connecting http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/jogl-all-natives-windows-i586.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-natives-windows-i586.jar : 304
network: Encoding for http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/jogl-all-natives-windows-i586.jar : null
network: Disconnect connection to http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/jogl-all-natives-windows-i586.jar
network: Connecting http://jogamp.org/deployment/archive/rc/v2.0-rc5/gluegen-rt.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/gluegen-rt.jnlp : 304
network: Encoding for http://jogamp.org/deployment/archive/rc/v2.0-rc5/gluegen-rt.jnlp : null
network: Disconnect connection to http://jogamp.org/deployment/archive/rc/v2.0-rc5/gluegen-rt.jnlp
network: JARUpdater: update check for http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/gluegen-rt.jar
network: Connecting http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/gluegen-rt.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/gluegen-rt.jar : 304
network: Encoding for http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/gluegen-rt.jar : null
network: Disconnect connection to http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/gluegen-rt.jar
network: JARUpdater: update check for http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/gluegen-rt-natives-windows-i586.jar
network: Connecting http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/gluegen-rt-natives-windows-i586.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/gluegen-rt-natives-windows-i586.jar : 304
network: Encoding for http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/gluegen-rt-natives-windows-i586.jar : null
network: Disconnect connection to http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/gluegen-rt-natives-windows-i586.jar
[/code]

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?

Reply | Threaded
Open this post in threaded view
|

Re: How to include JOGL in webstart?

Sven Gothel
Administrator
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


>
>
Reply | Threaded
Open this post in threaded view
|

Re: How to include JOGL in webstart?

Sven Gothel
Administrator
In reply to this post by kitfox
On Friday, January 27, 2012 12:52:23 PM Sven Gothel wrote:

> 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.
>

Please report the AVG 'false positive' following this AVG forum entry:

  http://forums.avg.com/ww-en/avg-forums?sec=thread&act=show&id=395

.. looks like they have a few 'false positives' .. search for 'AVG false positive'.

Thank you!
Reply | Threaded
Open this post in threaded view
|

Re: How to include JOGL in webstart?

kitfox
I sent them an email/  Then I changed anti-viruses.  Works much better now.