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

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