users@jaxb.java.net

Re: ExceptionInInitializerError

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 04 Mar 2003 15:22:35 -0800

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