I am getting an AccessControlException when accessing JBoss through a signed Applet. The goal is not to modify the default policy file using policytool but to have the server.policy file in effect at JBoss startup. Based on the code in Main.java, JBoss does find the server.policy file. The file has all permissions set. When I set the system property debug= all, the output from JBoss does not show all permissions in effect but rather a limited set of permissions; listen, resolve for sockets instead of all. Setting a default security manager on the command line produces an IOException.
Does anyone really know how to get server.policy to work a runtime? If so, I would really appreciate your help.
java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.1.2:1070 connect,resolve)
Exception in thread "main" java.io.IOException: jboss.properties missing
Add the following options to the command line used to run Jboss: