Check your security policy file, or in case of doubt use the
java.policy (with all permissions) suplied with the distribution.
Then run the server with it...
java -Djava.security.policy=<your policy file> -Dinstall.root=%JONAS_ROOT%
org.objectweb.jonas.server.Server
Hi had the same problem and it worked for me, so...
Hope this help !
Rui Gil
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew Gray
> Sent: Ter�a-feira, 30 de Novembro de 1999 17:13
> To: 'JOnAS Developers'; 'JOnAS Users'
> Subject: Starting Server from existing VM problem
>
>
> Hi,
>
> I am experiencing problems when trying to start the JOnAS server
> from within
> my own code. I am getting:
>
> JOnAS - Version 1.5
> Cannot rebind TM:
> javax.naming.NoPermissionException [Root exception is
> java.rmi.ServerException: RemoteException occurred in server
> thread; nested
> exception is:
> java.rmi.AccessException: Registry.Registry.rebind:
> ???.???.??.???/???.???.??.??? is not a local address]
>
> Please note that I have removed my actual local IP Address from the error
> above! The code that seems to generate this exception is when I
> simply call:
>
> org.objectweb.jonas.server.Server.main(args);
>
> I am using JDK1.2.2 on Windows NT4.0, I have an RMIRegistry
> running as well.
>
> Does anyone have any ideas / suggestions? Thanks in advance.
>
> Cheers,
>
> Andy G.
>
> Andrew Gray
> Development Manager
> Arclight Strategy Systems
>