1 Reply Latest reply on Sep 8, 2001 11:36 AM by Scott Stark

    Does anyone really know how to get server.policy to work a r

    Kemyss Worley Newbie

      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.

      AccessControlException:
      java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.1.2:1070 connect,resolve)

      IOException:
      Exception in thread "main" java.io.IOException: jboss.properties missing
      at org.jboss.Main.main(Main.java:66)