I am using JBoss as my Application server and trying to make an RMI call from that. Facing following exception. I googled and understood that its something to do with the Java 2 security issue. I tried to overcome that using the following lines of code in my servlet(RMI client) and RMI server
where i grant AllPermissions. Even then facing the following issue. Is there some JBoss configuration which needs to be changed to get this working?
java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:2000 connect,resolve)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java :264)
Sorry for the delay. If your problem is still outstanding, I'm going to suggest that you post a question on the "Installation, Configuration & DEPLOYMENT" forum at http://www.jboss.com/index.html?module=bb&op=viewforum&f=61.