Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -7,7 +7,8 @@ 7 7 * Starting with XWiki Enterprise 2.4M2 we're now using the [[JMX Technology>>http://en.wikipedia.org/wiki/Java_Management_Extensions]] to provide runtime monitoring of XWiki instances. The following features are currently available: 8 8 ** Monitor the Velocity macro caches 9 9 ** Monitor the JBossCache caches XWiki is using to cache Document data, Users & Groups data and more 10 -** Monitor the JGroups channel and protocols (when the XWiki Cluster feature is turned on) 10 +** (starting with XE 3.1) Monitor the JGroups channel and protocols (when the XWiki Cluster feature is turned on) 11 +** (starting with XE 3.1) Monitor the Logback Logging configuration and change it 11 11 12 12 {{info}} 13 13 XWiki also has a [[Monitor Plugin>>platform:AdminGuide.Logging#HActivatingtheXWikimonitoringfeature]] that you can use to monitor execution times. However this plugin is going to be deprecated in the future and replaced by the JMX technology. ... ... @@ -35,3 +35,12 @@ 35 35 * Change the log level on the protocols to enable logging 36 36 * Disconnect a node from the cluster and reconnect it 37 37 39 += Tomcat JMX Proxy Servlet = 40 + 41 +Tomcat has a JMX Proxy Servlet bundled in their ##manager## webapp (see [[here>>http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html]] and [[here>>http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html]] for more details on Tomcat and JMX]]. 42 + 43 +Here's some useful URLs to use the JMX Servlet Proxy to list and set JGroups Protocol Levels: 44 +* To display the current log level for the TCPPING protocol: {{{http://localhost:8080/manager/jmxproxy?qry=jgroups:type=protocol,cluster=event,protocol=TCPPING}}} 45 +* To set the log level to ##info## for the TCPPING protocol: {{{http://localhost:8080/manager/jmxproxy?set=jgroups:type=protocol,cluster=event,protocol=TCPPING&att=Level&val=info}}} 46 + 47 +