If you do System.setSecurityManager(new RMISecurityManager()), then it seems that the RMI SM overtakes the SM that JBoss uses and when I tried to access JBoss resources, I get access denied exception. I am doing RMI calls from an Action thread. How do I enable remote class loading in JBoss ?