users@jaxb.java.net

Re: ExceptionInInitializerError

From: Jason Tang <jason.tang_at_UBC.CA>
Date: Tue, 04 Mar 2003 16:53:55 -0700

I set the security permission of my browser to low, but it doesn't seem to make any impact. The plugin console doesn't have any security settings that I can adjust. Do you know where else I can relax the security permission?

On Tue, 4 Mar 2003 15:22:35 -0800, Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM> wrote:

>The unmarshaller tries to read some system properties, but the error
>message seems to suggest that this operation is denied.
>
>Could you relax the security permission a bit so that you can access
>system properties through the System.getProperty method? That should
>make JAXB RI work.
>
>> Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission DEBUG_SUN_MSV read)
>> at java.security.AccessControlContext.checkPermission
>> (AccessControlContext.java:270)
>> at java.security.AccessController.checkPermission(AccessController.java:401)
>> at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
>> at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
>> at java.lang.System.getProperty(System.java:572)
>> at com.sun.msv.driver.textui.Debug.<clinit>(Debug.java:14)
>
>
>
>regards,
>--
>Kohsuke KAWAGUCHI 408-276-7063 (x17063)
>Sun Microsystems kohsuke.kawaguchi_at_sun.com