World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Development Help

Development Help Help for building applications or diagnosing problems with WWJ

Reply
 
Thread Tools Display Modes
Old 02-29-2012, 10:22 PM   #1
fishnbrewdude
Member
 
Join Date: Jul 2010
Posts: 65
fishnbrewdude is on a distinguished road
Default JOGL 1.1 incompatibility with Java 6u31

Our World Wind application has fatal problems with JOGL when updating to Java 6u31. Our workaround has been to restore to Java 6u30. However, government networks are requiring an update to Java 6u31 which breaks the application. Has anyone else experienced this problem or does anyone have a workaround for this problem?

Thanks,
Dale
fishnbrewdude is offline   Reply With Quote
Old 03-01-2012, 02:05 AM   #2
fishnbrewdude
Member
 
Join Date: Jul 2010
Posts: 65
fishnbrewdude is on a distinguished road
Default

The problem is caused by Oracle modifying certificates and the certificates that the JOGL jars were signed with are no longer valid which causes a fatal error in World Wind that cannot be rectified.

I have verified this with the World Wind example applet and application template on the World Wind demo page.

This will potentially impact all DoD instances of World Wind during the next couple of days as the networks are updated as directed by Information Assurance (IA).

Right now the only work around that we know of is to revert to 6u30.

I am going to try replacing the JOGL jars with the latest from download.java.net and see if the signing certificates have been updated.

Thanks,
FishNBrewDude
fishnbrewdude is offline   Reply With Quote
Old 03-01-2012, 04:24 AM   #3
tag
WWJ Technical Manager
 
Join Date: May 2007
Location: Seattle
Posts: 1,033
tag is on a distinguished road
Default

We're looking into it. Should have an answer in the morning (PST).
tag is offline   Reply With Quote
Old 03-01-2012, 06:18 PM   #4
fishnbrewdude
Member
 
Join Date: Jul 2010
Posts: 65
fishnbrewdude is on a distinguished road
Default Potential solution to JOGL problem verified on isolated network

We were able to reproduce the problem on our isolated system and we resolved by resigning the JOGL and GLUEGEN with a valid certificate.

We did not need to rebuild JOGL.

I would assume that NASA will need to host resigned JARS for the demos to work. I have also posted the problem on the jogamp forum (http://forum.jogamp.org/JOGL-broken-...td3791268.html) and hopefully they will fix JOGL at the source.

Thanks,
FishNBrewDude
fishnbrewdude is offline   Reply With Quote
Old 03-01-2012, 08:30 PM   #5
tag
WWJ Technical Manager
 
Join Date: May 2007
Location: Seattle
Posts: 1,033
tag is on a distinguished road
Default

We have just re-signed all the jogl related jar files and installed them at our webstart site. The certificate used is NASA World Wind's, not Sun's or Oracle's. This appears to eliminate the certificate issue. You shouldn't have to do anything to utilize this change, but new libs should download the next time you run a WW webstart application or applet. If you still have problems, try clearing your Java cache of old jogl and gluegen resources.

Having said this, we notice that the applets on the demo page don't work. But we don't think it's because of the certificate issue.
tag is offline   Reply With Quote
Old 03-02-2012, 12:52 AM   #6
fishnbrewdude
Member
 
Join Date: Jul 2010
Posts: 65
fishnbrewdude is on a distinguished road
Default

Thanks tag.

Would it be possible for you to provide pack.gz version of the signed jar files?

Because we package World Wind as an applet the packed versions of the files provide for faster download times and a better user experience. Sun provided packed versions of the jogl.jar and gluegen.jar. We cannot do that with the provided files because it corrupts the signatures.

The process to do this would be
1. pack200 -r
2. jarsigner
3. pack200

This will produce both a signed jar file and a signed jar and a signed compressed jar.pack.gz

Thanks,
FishNBrewDude
fishnbrewdude is offline   Reply With Quote
Old 03-02-2012, 06:38 PM   #7
tag
WWJ Technical Manager
 
Join Date: May 2007
Location: Seattle
Posts: 1,033
tag is on a distinguished road
Default

We can do this.

I'm assuming that gluegen-rt.jar (25 kb) is too small to matter, and that the jogl-natives and gluegen-natives would not benefit and therefore don't need it. Let me know if you think otherwise.
tag is offline   Reply With Quote
Old 03-02-2012, 06:43 PM   #8
fishnbrewdude
Member
 
Join Date: Jul 2010
Posts: 65
fishnbrewdude is on a distinguished road
Default

That is correct, only jogl.jar is required now that you mention it.

Thanks.
fishnbrewdude is offline   Reply With Quote
Old 03-02-2012, 11:49 PM   #9
Randy Kim
NASA Employee
 
Randy Kim's Avatar
 
Join Date: Aug 2004
Location: Moffett Field, CA
Posts: 116
Randy Kim is an unknown quantity at this point
Default

jogl.jar.pack.gz has been posted to the same directory in
http://worldwind.arc.nasa.gov/java/j...gl.jar.pack.gz
Randy Kim is offline   Reply With Quote
Old 03-04-2012, 01:59 PM   #10
fishnbrewdude
Member
 
Join Date: Jul 2010
Posts: 65
fishnbrewdude is on a distinguished road
Default JOGL Question

Thanks, you guys are awesome!

This problem resulted in me posting an issue on the jogamp forum.
http://forum.jogamp.org/JOGL-broken-...td3791268.html.

This resulted in an interesting discussion, and the final post identified a concern by the JOGL community that World Wind uses a version of JOGL that is no longer supported and that JOGL 2.0 is supported by JOGAMP.

He also stated the possibility that JOGL 1.1 might not work on Windows 8.

Are there any plans for NASA to upgrade World Wind to JOGL 2.0?

Thanks,
FishNBrewDude
fishnbrewdude is offline   Reply With Quote
Reply

Tags
jogl


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup WWJ Hervé Development Help 96 03-04-2013 03:42 PM
wwj and java 7 workingDog Development Help 6 02-29-2012 02:30 PM
What version of JOGL is this with WWJ 1.6?? naql Development Help 2 06-22-2009 04:22 PM
my java console justime8 Technical Support 2 02-02-2009 03:31 PM
World Wind Java 0.2.0: which JOGL and gluegen versions? fabrizio.giudici Development Help 2 06-07-2007 05:47 PM


All times are GMT +1. The time now is 10:35 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.