What is Active CodeSource and Policy CodeSource?

I am having trouble creating a policy file with only the permissions needed by my application.
Here is the latest issue:
The application fails to launch with this error :
Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission synthetica.debug read)
     at java.security.AccessControlContext.checkPermission(Unknown Source)
     at java.security.AccessController.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
     at java.lang.System.getProperty(Unknown Source)
     at de.javasoft.plaf.synthetica.SyntheticaLookAndFeel.<clinit>(SyntheticaLookAndFeel.java:89)
     ... 11 more
I have a policy file with this entry :
grant codeBase "http://shotgun3:8080/webdesktop/thirdParty/synthetica/synthetica.jar" {
    //de.javasoft.plaf.synthetica.SyntheticaLookAndFeel.<clinit>(SyntheticaLookAndFeel.java:89)
    permission java.util.PropertyPermission "synthetica.debug", "read";
}I've turned on the security trace and the last entry before the exception looks like this :
policy: evaluate codesources:
     Policy CodeSource: (http://shotgun3:8080/webdesktop/thirdParty/djnativeswing.jar <no signer certificates>)
     Active CodeSource: (http://shotgun3:8080/webdesktop/thirdParty/synthetica/synthetica.jar [
...<junk deleted>...
policy: evaluation (codesource) failedDoes anyone know how to interpret the trace file output?
Is this failing because the Policy CodeSource and Active CodeSource are different?
What are the meanings of 'Policy CodeSource' and 'Active CodeSource'?
Do I need to grant permissions to both jars?
I want to keep the permissions grouped by jar file because the nature of development is to add and subtract third-party jars as needed and if all permissions were grouped into a single codeBase entry it becomes difficult to manage.

Now I'm really confused.
this error:
ava.security.AccessControlException: access denied (java.util.PropertyPermission sun.awt.xembedserver write)
     at java.security.AccessControlContext.checkPermission(Unknown Source)
     at java.security.AccessController.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.System.setProperty(Unknown Source)
     at chrriis.dj.nativeswing.NativeInterfaceHandler.init(NativeInterfaceHandler.java:299)
     at chrriis.dj.nativeswing.NativeInterfaceHandler.init(NativeInterfaceHandler.java:254)
     at com.lawson.desktop.Desktop.main(Desktop.java:474)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at com.sun.javaws.Launcher.executeApplication(Unknown Source)
     at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
     at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
     at com.sun.javaws.Launcher.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)this in my policy file
grant codeBase "http://shotgun3:8080/webdesktop/thirdParty/djnativeswing.jar" {
    //chrriis.dj.nativeswing.NativeInterfaceHandler.init(NativeInterfaceHandler.java:299)
    permission java.util.PropertyPermission "sun.awt.xembedserver", "write";
}This in the trace
policy: evaluate codesources:
     Policy CodeSource: (http://shotgun3:8080/webdesktop/thirdParty/djnativeswing.jar <no signer certificates>)
     Active CodeSource: (http://shotgun3:8080/webdesktop/thirdParty/djnativeswing.jar [
(deleted)
policy: evaluate principals:
     Policy Principals: []
     Active Principals: []
policy: evaluation (codesource/principals) passed
....(deleted)
policy:   granting (java.util.PropertyPermission sun.awt.xembedserver write)
....(deleted)
#### Java Web Start Error:
#### access denied (java.util.PropertyPermission sun.awt.xembedserver write)What is going on? It seems to have granted the permission to write to the property yet access is denied? why??????

Similar Messages

Maybe you are looking for

  • Z68a-gd65 (G3) + 280x = no signal

    I bought this new gpu XFX Radeon R9 280X 3GB Double Edition (R9-280X-TDFD) and when i plug it and power on my pc the fans start running and all led's is on but there is no signal output to my monitor. I have tried changeing pcie-slot and i have made

  • How to synch ipad, iphone4s, macbook pro "message"

    "messages" doesnt show up on my list on MacBook Pro to synch with ipad and iphone. Why? and what can I do? thanks

  • Unit test for J2EE application

    I am writting a Unit test for One J2EE application. The Application is built in such a way that makes unit testing extremely difficult. There are 2 things that contribute to the mess. 1. Sping integration means all the config files are specified in w

  • Would Adobe Creative Suite 6 work on Mountain Lion?

    Hey guys, does anyone have any idea if Adobe Creative Suite 6 Design edition works on Mountain Lion or not?

  • Cant grab bezier handles in effect controls

    Am I gaoin mad? I want to control the ease out of a simple pan accross a frame.  I set the keyframe > temporal (and spatial) to beziere. Handle appears. Cant do anything with it. Just tried this on another clip (a nested sequence) and it worked fine.