Posted by
kitfox on
Jan 27, 2012; 5:18am
URL: https://forum.jogamp.org/How-to-include-JOGL-in-webstart-tp3692459.html
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.jnlpnetwork: JARUpdater: update check for
http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/jogl.all.jarnetwork: 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.jarnetwork: JARUpdater: update check for
http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/jogl-all-natives-windows-i586.jarnetwork: 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.jarnetwork: 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.jnlpnetwork: JARUpdater: update check for
http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/gluegen-rt.jarnetwork: 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.jarnetwork: JARUpdater: update check for
http://jogamp.org/deployment/archive/rc/v2.0-rc5/jar/gluegen-rt-natives-windows-i586.jarnetwork: 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?