0 Replies Latest reply on Jan 16, 2008 5:40 PM by Mark Babcock

    RMI & JBOSS

    Mark Babcock Newbie

      I'm running the bungled version of jboss-portal-2.6.3. I have a class within my war file that makes an RMI call to an external app. I have tried using the command line args to run in java2 security. However, I'm still getting a security error. I'm running the bundled version of jboss with the portal. Any ideas?

      run -Djava.security.manager -Djava.security.policy=server.policy

      java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:9001 connect,resolve)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
      at java.security.AccessController.checkPermission(AccessController.java:546)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
      at java.lang.SecurityManager.checkConnect(SecurityManager.java:1034)
      at java.net.Socket.connect(Socket.java:513)
      at java.net.Socket.connect(Socket.java:469)
      at java.net.Socket.(Socket.java:366)