Disable Stacktrace in Response of JBoss

To disable the source body in a stacktrace you have to add the following configuration to your web subsystem in standalone.xml:

<configuration>
  <jsp-configuration display-source-fragment="false"/>
</configuration>

Or with cli:

/subsystem=web/configuration=jsp-configuration:write-attribute(name=display-source-fragment, value=false)

 

Leave a Comment