Webstart problems

Hi all,

I am really struggling to get my application running with webstart. I read quite a few of the earlier postings but still have not found my solution. Any tips would be greatly appreciated!!

Progress so far:

I have re-packaged jogl.jar into a signed jar.
I have packaged the jogl.dll and jogl_cg.dll into a separate signed jar as a windows resource.
I have packed my application into a signed jar too.

So my application downloads fine now and starts up. As soon as it gets to the bit of code where I would expect init() is being called the whole thing vanishes into a puff of logic.

I have tried enabling the logging on webstart but it doesn’t give me any more information.
I have tried packaging the cg.dll and cgGL.dll but with no difference.
I also tried a loadLibrary on jogl with no improvement.

I am running out of options without being able to get some info as to whats going on.

Any suggestions?

Cheers

Peter

I frequently have arcane problems with some old jogl.dll files lingering on the client machine. Try to remove any version of jogl.dll from suspicious directorys like jdk/bin, jre/bin or windows/system32.

Try to post your jnlp file.

Thanks. I checked for old jogl’s but only found some old GL4Java that I’d forgotten about :slight_smile:

So I flooded the code with some more debug and it seems I was reading some resources from a BufferInputStream and the stream was clossing unexpectedly and silently. Worked fine locally but must be something to do with running as a webstart.

Anyway I m still having problems with the webstart. I have some other resources that I lazy load during the display loop. I am loading these on a separate thread so as not to interupt the main rendering. However it seems that only 1 in about 10 times does the background thread actually get started. The other times the whole app just seems to deadlock. Once again this only happens when running as a web start.

TIA

Peter