Hello Lucian,
> -----Message d'origine-----
>
> Well, just to test i've written a simple client which does
>
> try {
> System.setSecurityManager(new
> java.rmi.RMISecurityManager());
> }
> catch (java.rmi.RMISecurityException exc) {
> System.err.println("Security violation " + exc.toString());
> }
> Context ctx = getInitialContext(); //standard stuff
> Object refEJB=ctx.lookup("FirstBean");
>
You should try this:
System.setProperty ("java.rmi.server.codebase", "http://TheJbossServer:8080");
System.setProperty ("java.rmi.server.useCodeBaseOnly", "true");
System.setProperty ("java.security.policy", "c:/policy.txt");
System.setSecurityManager (new java.lang.SecurityManager());
i.e. do not forget the useCodeBaseOnly property and do not forget to create a policy
file (with all permission granged for testing purpose)
This should then work.
Cheers,
Sacha
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user