Turn off jolokia discovery by default.

This commit is contained in:
Claus Ibsen 2016-02-17 08:38:26 +01:00
parent ba6c39c26d
commit f0378bcd3f
1 changed files with 4 additions and 2 deletions

View File

@ -39,9 +39,10 @@
<servlet>
<servlet-name>jolokia-agent</servlet-name>
<servlet-class>org.jolokia.http.AgentServlet</servlet-class>
<!-- Uncomment this if you want jolokia multicast discovery to be enabled
<init-param>
<param-name>discoveryEnabled</param-name>
<param-value>false</param-value>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>discoveryAgentUrl</param-name>
@ -51,6 +52,7 @@
<param-name>agentDescription</param-name>
<param-value>Apache ActiveMQ</param-value>
</init-param>
-->
<!-- turn off returning exceptions and stacktraces from jolokia -->
<init-param>
<param-name>allowErrorDetails</param-name>