Hi All,
I am using j2ee ri 1.2.1 on NT with JDK1.2.2.
I try to call System.getProperties() from a help
class, but get exception:
java.security.AccessControlException: access denied
(java.util.PropertyPermission * read,write)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:195)
at
java.security.AccessController.checkPermission(AccessController.java:403)
at
java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at
java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1215)
at
java.lang.System.getProperties(System.java:484)
I checked the spec, it says:
C.12 Changes since EJB 1.1 Public Release
....
Allowed enterprise beans to read system properties.
Is there anything wrong on my side?
Any information would be appreciated.
Thanks.
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".