Changes for page Monitoring

Last modified by Thomas Mortagne on 2024/04/10

From version 17.2
edited by Silvia Macovei
on 2012/03/19
Change comment: Used image macro
To version 17.3
edited by Manuel Smeria
on 2013/01/16
Change comment: minor fixes

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.SilviaRusu
1 +XWiki.ManuelSmeria
Content
... ... @@ -12,7 +12,7 @@
12 12  ** (starting with XE 3.1) Monitor the Logback Logging configuration and change it
13 13  
14 14  {{info}}
15 -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.
15 +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.
16 16  {{/info}}
17 17  
18 18  = JavaMelody =
... ... @@ -19,8 +19,8 @@
19 19  
20 20  [[[[image:http://javamelody.googlecode.com/svn/trunk/javamelody-core/src/site/resources/screenshots/graphs.png||width="50%"]]>>http://code.google.com/p/javamelody/wiki/Screenshots||style="width:50%"]]
21 21  
22 -To install JavaMelody for XWiki follow these steps (see the [[JavaMelody user guide for more details>>http://code.google.com/p/javamelody/wiki/UserGuide]]):
23 -* Download the latest [[javamelody.jar>>http://code.google.com/p/javamelody/downloads/list]] and [[jrobin-x.jar>>http://javamelody.googlecode.com/files/jrobin-1.5.9.jar]] and put them in ##WEB-INF/lib##
22 +To install JavaMelody for XWiki follow these steps (see the [[JavaMelody user guide>>http://code.google.com/p/javamelody/wiki/UserGuide]] for more details):
23 +* Download the latest [[javamelody.jar>>http://code.google.com/p/javamelody/downloads/list]] and [[jrobin-x.jar>>http://javamelody.googlecode.com/files/jrobin-1.5.9.jar]] and put them in the ##WEB-INF/lib## folder
24 24  * Edit ##web.xml## and add the following information:(((
25 25  {{code}}
26 26  ...
... ... @@ -53,27 +53,29 @@
53 53  
54 54  = JMX Console =
55 55  
56 -Since JMX is a standard you can use [[any JMX-compatible monitoring console>>http://stackoverflow.com/questions/1744900/what-is-the-best-or-most-commonly-used-jmx-console-client]] (most application servers provide a web-based JMX console). There's also such a console called [[JConsole>>http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html]] and which is bundled by default in the Java Runtime you're using. To start it, simply execute the ##jconsole## executable.
56 +Since JMX is a standard you can use [[any JMX-compatible monitoring console>>http://stackoverflow.com/questions/1744900/what-is-the-best-or-most-commonly-used-jmx-console-client]] (most application servers provide a web-based JMX console). There's also a console called [[JConsole>>http://docs.oracle.com/javase/7/docs/technotes/guides/management/jconsole.html]] which is bundled by default in the Java Runtime you're using. To start it, simply execute the ##jconsole## executable.
57 57  
58 58  == XWiki Caches Monitoring ==
59 59  
60 60  XWiki can use different cache implementations. The JBoss Cache and JBoss Infinispan implementations have nice JMX features available as shown below.
61 61  
62 -Since XWiki 3.3 the default implementation is JBoss Infinispan.
62 +Starting with XWiki 3.3 the default implementation is JBoss Infinispan.
63 63  
64 64  === With JBoss Infinispan ===
65 65  
66 66  Since JBoss Infinispan natively supports JMX we benefit from this feature directly (JBoss documentation available [[here>>https://docs.jboss.org/author/display/ISPN/Management+Tooling]]).
67 67  
68 -{{info}}Prior to XWiki Enterprise 3.5 the JMX support was not enabled by default. To enable it, edit ##WEB-INF/cache/infinispan/config.xml## and uncomment the two places where the "jmx" string is mentioned{{/info}}
68 +{{info}}
69 +Prior to XWiki Enterprise 3.5 the JMX support was not enabled by default. To enable it, edit ##WEB-INF/cache/infinispan/config.xml## and uncomment the two places where the "jmx" string is mentioned
70 +{{/info}}
69 69  
70 70  Example showing the cache list and some statistic for a given cache:
71 71  
72 -[[image:infinispancache.png||style="border:1px solid silver; width:950px"]]
74 +{{image reference="infinispancache.png"/}}
73 73  
74 74  === With JBoss Cache ===
75 75  
76 -Since JBoss Cache natively supports JMX we benefit from this feature directly (JBoss documentation available [[here>>http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Web_Platform/5/html/JBoss_Cache_User_Guide/jmx_reference.html]]).
78 +Since JBoss Cache natively supports JMX we benefit from this feature directly (JBoss documentation available [[here>>https://access.redhat.com/knowledge/docs/en-US/JBoss_Enterprise_Web_Platform/5/html/JBoss_Cache_User_Guide/jmx_reference.html]]).
77 77  
78 78  Example showing all JBoss Caches in memory in a running instance, showing all the elements in the cache (example on the document cache):
79 79  
... ... @@ -91,6 +91,7 @@
91 91  
92 92  {{image reference="jconsole1.png"/}}
93 93  
96 +
94 94  {{image reference="jconsole2.png"/}}
95 95  
96 96  == JGroups Monitoring ==

Get Connected