title: AccessControlException: access denied ("java.util.PropertyPermission" "module.path" "write")
body: <p>I am trying to configure the JBoss server to run under the java security manager using:<code>set "JAVA_OPTS=%JAVA_OPTS%  -Djava.security.manager "</code>
  in <code>JBOSS_HOME/bin/standalone.conf.bat file</code>. But when I run <code>JBOSS_HOME/bin/standalone.bat</code> to start the server, it is giving me the following error:</p>
  
  <pre><code>java.security.policy: error adding Entry: java.net.MalformedURLException: unknown protocol: vfs
  java.security.policy: error adding Entry: java.net.MalformedURLException:  unknown protocol: vfs
  Exception in thread "main" java.security.AccessControlException: access denied ("java.util.PropertyPermission" "module.path" "write")
  at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
  at java.security.AccessControlContext.checkPermission(AccessController.java:559)
  at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
  at java.lang.System.setProperty(System.java:783)
  at org.jboss.modules.main.main(Main.java:148)
  </code></pre>
  
  <p>Please let me know what I can do to configure the java security manager in JBoss.</p>