[jboss-user] [Security & JAAS/JBoss] - RMI & JBOSS
markbabcock
do-not-reply at jboss.com
Wed Jan 16 17:40:11 EST 2008
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)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4120667#4120667
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4120667
More information about the jboss-user
mailing list