Skip to main content

Can't run scenegraph-demos

4 replies [Last post]
pgokhale
Offline
Joined: 2006-02-07
Points: 0

Hello,

I get following exception while loading the scene-graph demos (https://scenegraph-demos.dev.java.net/demo-applets.html).
exception: null.
java.lang.Exception: Relaunch: !isInCache()
at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Also, I see a whole lot of following on the Java console

Validating http://download.java.net/javadesktop/scenario/releases/0.5/Scenario-0.5.jar , version null...
Validating http://download.java.net/javadesktop/scenario/releases/0.5/Scenario-0.5.jar , version null...
Validating http://download.java.net/javadesktop/scenario/releases/0.5/Scenario-0.5.jar , version null...
Validating http://download.java.net/javadesktop/scenario/releases/0.5/Scenario-0.5.jar , version null...

I'm running 1.6 update 10 beta. And this behavior is on IE 6, 7, and Firefox 3 (RC1).

Any ideas on either? Appreciate your help.

Thanks
Parag

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
pgokhale
Offline
Joined: 2006-02-07
Points: 0

I'll confess: I was hardly worried about the scenegraph-demos but had exactly the same behavior in my test applet. And I think I was seeing this behavior for a possible bug?
My applet references a jnlp file which has

It appears that the applet doesn't' like this heap size mentioned here.

If I were to remove it from the jnlp file and put it under applet parameter

I still run into the !isInCache exception listed above.

I got it work by specifying the heap sizes in both applet parameter as well as in the jnlp file. Has anyone seen this behavior?

kbr
Offline
Joined: 2003-06-16
Points: 0

Are you running the latest build of 6u10 from https://jdk6.dev.java.net/6u10ea.html ? If not, please uninstall your current copy of 6u10 and reinstall the latest build.

pgokhale
Offline
Joined: 2006-02-07
Points: 0

earlier I was using java.runtime.version = 1.6.0_10-beta-b23 but just tested with java.runtime.version = 1.6.0_10-beta-b24 with same results.

Also, do you have any idea regarding the verifying... messages? It certainly is increasing the time required for client to download the jars.

kbr
Offline
Joined: 2003-06-16
Points: 0

I think there might have been a bug fix in this area in one of the very recent builds. Personally I haven't seen this error in house so it would be hard for us to track down. Try build 26 when it comes out in a couple of days. I hate to advise this but you might also want to try clearing out your Java cache using the Java Control Panel. If this has any effect please let us know as it indicates that your original problem is related to cache corruption.

The "Validating..." messages should be cleaned up in build 25 or 26.