9.9.5. Debug Security Manager Policies
You can enable debugging information to help you troubleshoot security policy-related issues. The
java.security.debug option configures the level of security-related information reported. The command
java -Djava.security.debug=help will produce help output with the full range of debugging options. Setting the debug level to
all is useful when troubleshooting a security-related failure whose cause is completely unknown, but for general use it will produce too much information. A sensible general default is
Procedure 9.11. Enable general debugging
This procedure will enable a sensible general level of security-related debug information.Add the following line to the server configuration file.
- If the JBoss Enterprise Application Platform instance is running in a managed domain, the line is added to the
bin/domain.conffile for Linux or the
bin/domain.conf.batfile for Windows.
- If the JBoss Enterprise Application Platform instance is running as a standalone server, the line is added to the
bin/standalone.conffile for Linux, or the
bin\standalone.conf.batfile for Windows.
A general level of security-related debug information has been enabled.