-
1. Re: Using RMI from a Session Bean
dcs1pk Feb 13, 2003 8:03 AM (in response to sateh)I am having the same problem, I've just started using JBoss and may be I dont understand the security model very well, or RMI security or both:)
I want to access remote RMI server from a session bean. Surely I can't set
System.setSecurityManager(new RMISecurityManager());
in my session bean. I have listed system properties and I dont see any security related properties. How do I map to JBoss JAAS, or do I need to????
Now I am having this error..
10:50:11,229 ERROR [ArtefactManagerBean] Remote exception: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: org.genesis_ist.oscar.server.ClientFactoryImpl_Stub (no security manager: RMI class loader disabled)
10:50:11,231 ERROR [ArtefactManagerBean] Login setup error..Remote exception: ; CausedByException is:
error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: org.genesis_ist.oscar.server.ClientFactoryImpl_Stub (no security manager: RMI class loader disabled)
Many thanks in advance....!!!!