-
1. Re: RMIRegistry problem
jscoobyced Nov 29, 2004 3:17 AM (in response to jscoobyced)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 -
2. RMISecurityManager issue
jscoobyced Nov 29, 2004 3:32 AM (in response to jscoobyced)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
Thank you -
3. Re: RMIRegistry problem
starksm64 Nov 29, 2004 12:49 PM (in response to jscoobyced)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.
-
4. Re: RMIRegistry problem
jscoobyced Nov 29, 2004 10:57 PM (in response to jscoobyced)Thank you for your reply. I actually had partial testing yesterday. Now it looks it's working.