[jboss-user] [JBoss Messaging] - Re: AccessControlException

jhowell@redhat.com do-not-reply at jboss.com
Wed Nov 28 10:32:04 EST 2007

If you have upgraded to the newest remoting 2.2.2.SP2 which includes JBREM-811(http://jira.jboss.com/jira/browse/JBREM-811) you can do any of the following.

1. When your code starts up(before using JBM) set the Security manager to null.
System.setSecurityManager( null )

2. Define your own policy file that adds java.security.AllPermissions to *everything*(all code bases).

3.  grant codeBase "file:.../jboss-remoting.jar"
          permission java.lang.RuntimePermission "createClassLoader";


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108533#4108533

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108533

More information about the jboss-user mailing list