hi Philippe,

thx for that help on classpath my ejbserver has started.

Thanks & Best regards,
Vetra



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 05, 2001 7:42 AM
To: Vetra
Cc: [EMAIL PROTECTED]
Subject: Re: Error While Starting the EJBServer


Vetra wrote:
>
> Hello,
>
> I am evaluating the JOnAS Application Server Version 2.3. My configuration
> is Windows 2000, JDK 1.2.2, Jonas 2.3.
>
> While trying to start the EJBServer i get the AccessControlException, the
> detail error message is---,
> *************************************************************
>
>
C:\JONAS\examples\src\eb>java -Dinstall.root=c:\jonas -Djava.security.manage
> r -D
> java.security.policy=java.policy org.objectweb.jonas.server.Server
> JOnAS Server, version 2.3, running on rmi.
> No trace.properties: take default values
> Exception in thread "main" java.lang.ExceptionInInitializerError:
> java.security.
> AccessControlException: access denied (java.util.PropertyPermission *
> read,write
> )
>         at
> java.security.AccessControlContext.checkPermission(AccessControlConte
> xt.java, Compiled Code)
>         at
> java.security.AccessController.checkPermission(AccessController.java,
>  Compiled Code)
>         at java.lang.SecurityManager.checkPermission(SecurityManager.java,
> Compi
> led Code)
>         at
> java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:
> 1215)
>         at java.lang.System.getProperties(System.java:483)
>         at org.objectweb.jonas.common.JProp.<clinit>(JProp.java:44)
>         at org.objectweb.jonas.server.Server.<init>(Server.java, Compiled
> Code)
>         at org.objectweb.jonas.server.Server.main(Server.java:220)
>
> ***************************************************************
> I tried creating another policy file(with all Permissions) in JONAS_ROOT
> directory and passing it as a command line argument to the ejbserver but
> still it gives the above mentioned exception.
>
> Thanking u all in advance for the suggestions & help.
>
> Thanks & Best regards,
> Vetra

you must use EJBServer.bat in order to have your CLASSPATH correctly
set.
Regards,

--
        Philippe

Philippe Coq  Evidian   Phone: (33) 04 76 29 78 49
Bull S.A  - 1 rue de Provence - 38432 Echirolles Cedex France
Download our EJBServer at http://www.objectweb.org

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to