Hello,
You need to set up the security policy file,
${JAVA_HOME}/jre/lib/security/java.policy or create a
.java.policy in your home directory or any file
with -Djava.security.policy/(filename) option of "java" command.
Example of policy file is:
grant {
// Allow everything for now
permission java.security.AllPermission;
};
(Look at JDK 1.2 documentation for more information about
security policy)
Regards.
H�l�ne
Sachin Devand wrote:
>
> Hi I have managed to put all my class files together but now the EJBServer
> is giving me this error can someone tell me what it means thanks.
> sachin
> the error:
>
> JOnAS - Version 1.4.1
> Exception in thread "main" java.lang.ExceptionInInitializerError:
> java.security.A
> ccessControlException: access denied (java.util.PropertyPermission *
> read,write)
> at
> java.security.AccessControlContext.checkPermission(AccessControlContex
> t.java:195)
> at
> java.security.AccessController.checkPermission(AccessController.java:4
> 03)
> at
> java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
> at
> java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1
> 215)
> at java.lang.System.getProperties(System.java:474)
> at com.bull.frec.util.Prop.<clinit>(Prop.java:44)
> at com.bull.ejb.Server.main(Server.java:68)
>
--
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www-frec.bull.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________