Filename bug in Appletlauncher??

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

Filename bug in Appletlauncher??

adi
My Aplletlauncher always searches for a library
http://jogamp.org/deployment/jogamp-current/jar/jogl.all.jar
but there is only in the direktory structure a library
http://jogamp.org/deployment/jogamp-current/jar/jogl-all.jar

How can i fix this?


 
Reply | Threaded
Open this post in threaded view
|

Re: Filename bug in Appletlauncher??

Sven Gothel
Administrator
On 09/27/2012 01:45 PM, adi [via jogamp] wrote:
> My Aplletlauncher always searches for a library
> http://jogamp.org/deployment/jogamp-current/jar/jogl.all.jar
> but there is only in the direktory structure a library
> http://jogamp.org/deployment/jogamp-current/jar/jogl-all.jar
>
> How can i fix this?

Pls give me an example, i.e. where does it happen.
Didn't remember that it is hardcoded in
the AppletLauncher. .. Maybe we have missed to fix one reference ?

~Sven



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

Re: Filename bug in Appletlauncher??

adi
Hello

That ist my problem.
The applet (www.jengine.ch) has run correctly a half year.
Then suddenly the error occurs: FailedDownloadException -> Unable to load resource
 http://jogamp.org/deployment/jogamp-current/jar/jogl.all.jar 

(I think the name has changed now from jogl.all.jar to jogl-all.jar)

In my jnlp and applet startup file i only use locale libraries from jogl which i have
coppied to my server.  
Reply | Threaded
Open this post in threaded view
|

Re: Filename bug in Appletlauncher??

Sven Gothel
Administrator
On 09/27/2012 03:44 PM, adi [via jogamp] wrote:

> Hello
>
> That ist my problem.
> The applet (www.jengine.ch) has run correctly a half year.
> Then suddenly the error occurs: FailedDownloadException -> Unable to load
> resource
>  http://jogamp.org/deployment/jogamp-current/jar/jogl.all.jar 
>
> (I think the name has changed now from jogl.all.jar to jogl-all.jar)
>
> In my jnlp und applet startup file i only use locale libraries from jogl which
> i have
> coppied to the server.  
If you don't mind, pls send them this information, i.e. JAR file name change.
You can also invite them to this thread, i.e. sending them the URL.

I would recommend to update the offending html applet arguments
and also use the new applet loading mechanism, referred as NApplet (see Wiki,
Applet test page, ..).

~Sven



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

Re: Filename bug in Appletlauncher??

Sven Gothel
Administrator
In reply to this post by adi
On 09/27/2012 05:16 PM, Sven Gothel wrote:

> On 09/27/2012 03:44 PM, adi [via jogamp] wrote:
>> Hello
>>
>> That ist my problem.
>> The applet (www.jengine.ch) has run correctly a half year.
>> Then suddenly the error occurs: FailedDownloadException -> Unable to load
>> resource
>>  http://jogamp.org/deployment/jogamp-current/jar/jogl.all.jar 
>>
>> (I think the name has changed now from jogl.all.jar to jogl-all.jar)
>>
>> In my jnlp und applet startup file i only use locale libraries from jogl which
>> i have
>> coppied to the server.  
>
> If you don't mind, pls send them this information, i.e. JAR file name change.
> You can also invite them to this thread, i.e. sending them the URL.
>
> I would recommend to update the offending html applet arguments
> and also use the new applet loading mechanism, referred as NApplet (see Wiki,
> Applet test page, ..).
>
> ~Sven
>
Further more .. one can always 'bind' it's Applet to a specific version of JogAmp,
i.e. not using the URLs:
  <http://jogamp.org/deployment/jogamp-next/>
  <http://jogamp.org/deployment/jogamp-current>

but specific and tested versions like
  <http://jogamp.org/deployment/v2.0-rc10/>.

Iff using the -next or -current URLs, one should take care of updates
and always validates compatibility - of course!

~Sven



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

Re: Filename bug in Appletlauncher??

adi
I have loaded neu signed  jars from http://jogamp.org/deployment/jogamp-current/jar,
but included in Eclipse, it says that this jars not correct jar files, they are corrupt.

Reply | Threaded
Open this post in threaded view
|

Re: Filename bug in Appletlauncher??

Sven Gothel
Administrator
On 09/27/2012 07:31 PM, adi [via jogamp] wrote:
> I have loaded neu signed  jars from
> http://jogamp.org/deployment/jogamp-current/jar,
> but included in Eclipse, it says that this jars not correct jar files, they
> are corrupt.

well, they are not broken .. dunno whats the problem.

however, it is advised to dl the jogamp-all-platforms.7z file, e.g.:
  <http://jogamp.org/deployment/jogamp-current/archive/jogamp-all-platforms.7z>
and use that for development, since it is self contained.

~Sven



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

Re: Filename bug in Appletlauncher??

adi
Hello

With jogamp-all-platforms.7z jars i got always a SocketPermission in the
appletviewer. My applet start script is index.txt

(The CODEBASE parameter in the embed tag in this file, comes from the include
here and is not from me)
Reply | Threaded
Open this post in threaded view
|

Re: Filename bug in Appletlauncher??

Sven Gothel
Administrator
On 09/28/2012 11:19 AM, adi [via jogamp] wrote:
> Hello
>
> With jogamp-all-platforms.7z jars i got always a SocketPermission in the
> appletviewer. My applet start script is index.txt
> <http://forum.jogamp.org/file/n4026303/index.txt>
>

I fail to see a correlation between 'jogamp-all-platforms.7z jars' and your
index.txt file.

Ofc .. the jars in the 7z files are not signed!

Then you would need to indeed download the jar files yourself,
if you like to co-locate them (on your server for example).

To do so, you would need to use wget or curl on each single file (IMHO),
so you don't sweat our server too much :)
Don't forget to DL the *.gz jar files in this case!

~Sven



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

Re: Filename bug in Appletlauncher??

adi
This post was updated on .
Ah, thanks. What is the right location for SIGNED jars?
http://jogamp.org/deployment/jogamp-current/jar ??
adi
Reply | Threaded
Open this post in threaded view
|

Re: Filename bug in Appletlauncher??

adi
I have found them.

In the versions 2.0-rc9 and 2.0-rc10
the gluegen-rt.jar was packed in gluegen-rt.jar and jogl-all.jar was packed in jogl-all.jar,
that is not a correct jar format.

Also the demos in jogl-demos-v2.0-rc10.tar.7z can't be not correct unpacked.