Changes for page Monitoring

Last modified by Antoine Mottier on 2023/07/17

<
From version < 28.2 >
edited by Vincent Massol
on 2018/03/06
To version < 26.4 >
edited by Ecaterina Moraru (Valica)
on 2017/09/06
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.evalica
Content
... ... @@ -31,7 +31,6 @@
31 31   <filter-class>net.bull.javamelody.MonitoringFilter</filter-class>
32 32  </filter>
33 33  <!-- to enable BASIC authentication with username and password, but do no want to use a realm and "security-constraint"
34 -The storage files of statistics and of graphs are stored in the temporary directory of the server, unless if you have defined the "storage-directory" path
35 35  <filter>
36 36   <filter-name>javamelody</filter-name>
37 37   <filter-class>net.bull.javamelody.MonitoringFilter</filter-class>
... ... @@ -39,10 +39,6 @@
39 39   <param-name>authorized-users</param-name>
40 40   <param-value>user1:pwd1, user2:pwd2</param-value>
41 41   </init-param>
42 - <init-param>
43 - <param-name>storage-directory</param-name>
44 - <param-value>/path/of/javamelody/stats</param-value>
45 - </init-param>
46 46  </filter> -->
47 47  ... other <filter>s from the default web.xml here ...
48 48  
... ... @@ -67,38 +67,6 @@
67 67  
68 68  Then restart XWiki and access JavaMelody at ##http:~/~/localhost:8080/xwiki/monitoring##.
69 69  
70 -{{warning}}
71 -Recent versions of JavaMelody (at least 1.70+ ?) require the configuration in this guide to be adapted like this:
72 -
73 -{{code}}
74 -in web.xml:
75 ------------
76 -
77 -<filter>
78 - <filter-name>javamelody</filter-name>
79 - <filter-class>net.bull.javamelody.MonitoringFilter</filter-class>
80 - <async-supported>true</async-supported>
81 -</filter>
82 -<filter-mapping>
83 - <filter-name>javamelody</filter-name>
84 - <url-pattern>/*</url-pattern>
85 - <dispatcher>REQUEST</dispatcher>
86 - <dispatcher>ASYNC</dispatcher>
87 -</filter-mapping>
88 -<listener>
89 - <listener-class>net.bull.javamelody.SessionListener</listener-class>
90 -</listener>
91 -
92 -
93 -
94 -in hibernate.cfg.xml:
95 ----------------------
96 -
97 -<property name="connection.driver_class">net.bull.javamelody.JdbcDriver</property>
98 -<property name="connection.driver">com.mysql.jdbc.Driver</property>
99 -{{/code}}
100 -{{/warning}}
101 -
102 102  = JMX Console =
103 103  
104 104  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.
... ... @@ -181,6 +181,6 @@
181 181  
182 182  = Others =
183 183  
184 -* It's possible to [[write a Groovy script in a wiki page to access the JMX MBeans>>snippets:Extension.JMX Access]].
147 +* It's possible to [[write a Groovy script in a wiki page to access the JMX MBeans>>extensions:Extension.JMX Access]].
185 185  * [[JMX Monitoring Application>>extensions:Extension.JMX Monitoring Application]]
186 186  * [[XInit>>extensions:Extension.Xinit]]

Get Connected