Re: Jogl Build Headache
Posted by Penny on Dec 06, 2013; 6:28pm
URL: https://forum.jogamp.org/Jogl-Build-Headache-tp4030758p4030809.html
Ok I think I have found the cause of the problem.
I have just successfully run my test using an applet from my page server.
The new security requirements caused the problem but it wasn't very helpful of the system just to say "could not find gluegen-rt.dll"
cause and effect...
#1 because gluegen and jogl are trusted but the original jars are unsigned the applet blocks so I signed them with my self-cert.
#2 an error "incorrect codebase" occurred so I modified the manifest file so the codebase included my page server. this seems silly because anyone can change the codebase and repurpose the code...
what I was unaware of and what caused me all the trouble is that I modified the manifest codebase after I signed it but resigning it. I thought it was resigning successfully but by chance, 2 mins ago, I noticed the resigning was failing.
So instead of the system saying "Theres a mismatch in your signed jar" is just said "couldn't find gluegen-rt.dll" which was really frustrating!!!
To overcome the signing failure I hade to delete the SF and DSA from the META-INF directory and then it resigned successfully and low and behold my applet ran successfully from a page served from my web server.
I had to do this to jogl-test.jar, gluegen-rt.jar and jogl-all.jar
all my other jars are signed without permissions or codebase.
Now understanding the cause of this problem I will make these changes to my project and see how I get on.
Many thanks to everyone supporting me get to the bottom of this difficult time lol.
Regards
Penny :)