4.5. Debug Security Manager Policies
java.security.debugoption configures the level of security-related information reported. The command
java -Djava.security.debug=helpwill produce help output with the full range of debugging options. Setting the debug level to
allis 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 4.3. 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 EAP 6 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 EAP 6 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.