Just to give mor details about the Exception:
java.rmi.StubNotFoundException: Stub class not found: net.cedric.authentication.rmi.AuthenticationManagerImpl_Stub; nested exception is:
java.lang.ClassNotFoundException: No ClassLoaders found for: net.cedric.authentication.rmi.AuthenticationManagerImpl_Stub
And there are a few SecurityException as welll
I could run the previous code and access to the remote object if I don't set the RMISecurityManager()
So now my question is: how to set the RMISecurityManager without breaking he Security of JBoss
jboss does not run with a security manager by default so your free to configure one. You can also simply include the rmi stub class in you client side jar to avoid having to use rmi dynamic class loading.
Thank you for your reply. I actually had partial testing yesterday. Now it looks it's working.