Thank you.
I did find another way to solve the problem, though. I copied the
$JONAS_ROOT/java.properties to my home directory as ~/.java.properties which
removes the necessity for putting it on the command line.
Bruce
> -----Original Message-----
> From: dirk [mailto:dirk]On Behalf Of Dirk Haase
> Sent: Monday, December 20, 1999 5:58 AM
> To: Bruce Jarvis
> Cc: [EMAIL PROTECTED]
> Subject: Re: EJBServer error
>
>
> Bruce Jarvis wrote:
> >
> > I am trying to get the session bean example to run with Jonas 1.5. I am
> > running JDK 1.2.2 on Redhat Linux 6.0 and glibc-2.1.2-11.
> >
> > I start rmiregistry with the 'registry' script.
> > I run EJB server from the examples/src/sb directory.
> > Here is the output I get:
> >
> > EJBServer &
> > [2] 12860
>
>
> Try to run it with EJBServer
> -Djava.security.policy=JONAS_ROOT/jonas.policy &
>
> You need a file jonas.policy in you JONAS_ROOT directory containing
> following:
>
> grant {
>
> // Allow everything for now
>
> permission java.security.AllPermission;
>
> };
>
>
> that's the way I got rid of this exception. If there is another way to
> do it so I don't need such a long command line, I'd appreciate any help.
>
> Dirk
>
> --
> Dirk Haase mailto: [EMAIL PROTECTED]
>
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".