Hi,
-We are using DRS (Deployment Rule Set) to white list an old SAP Web Start. The application requires 1.6u39. We have JRE 1.8u45 (which is the latest JRE release for now).
The DRS rule is <action permission="run" version="1.6.0_39" />
-We keep getting the following exception. Rarely it works for our Dev environment. But most of the times it just doesn't work (full error at bottom): java.lang.RuntimeException: ERROR: Failed to recover corrupt cache entry
-Of course, we did clear Java cache, without luck
-Here is the Java tag in the JNLP (i could include all the jnlp file if needed for more details):
<java initial-heap-size="33554432" max-heap-size="536870912" java-vm-args="-Xms32m -Xmx512m -XX:MaxPermSize=128m" version="1.6+"/>
-Here is the error we get
java.lang.RuntimeException: ERROR: Failed to recover corrupt cache entry
at com.sun.deploy.cache.CacheEntry.recover(Unknown Source)
at com.sun.deploy.cache.CacheEntry.getJarSigningData(Unknown Source)
at com.sun.deploy.cache.CacheEntry.getCodeSigners(Unknown Source)
at com.sun.deploy.ref.CodeRef.getCodeSigners(Unknown Source)
at com.sun.deploy.security.ruleset.RuleId.contains(Unknown Source)
at com.sun.deploy.security.ruleset.DRSHelper.findRule(Unknown Source)
at com.sun.deploy.security.ruleset.DeploymentRuleSet.getDRS(Unknown Source)
at com.sun.deploy.security.ruleset.DeploymentRuleSet.findDRS(Unknown Source)
at com.sun.javaws.jnl.LaunchDesc.getMainDeploymentRuleSet(Unknown Source)
at com.sun.javaws.jnl.LaunchDesc.getMatchImpl(Unknown Source)
at com.sun.javaws.jnl.LaunchDesc.getJREMatcher(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)