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=3D(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.

aaz wrote:
> 
> What are you trying to write to in your program? Those exceptions are caused
> by javas secutiry manager not letting your program write/read to something.
> 
> On
> Tue, 26 Oct 1999, 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)
> >
> > ---------------------------------------------------------------
> > Sachin Devand <[EMAIL PROTECTED]>
> > Post Graduate Student.
> >

-- 
-=- 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
_______________________________________________________________

Reply via email to