Changes for page JMX Access
Last modified by Michael Hamann on 2023/08/02 11:19
Change comment:
Fix the List cache statistics code by ignoring errors
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 1 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. dgervalle1 +xwiki:XWiki.MichaelHamann
- EXOExtensionCode.ExtensionClass[0]
-
- compatibility
-
... ... @@ -1,0 +1,1 @@ 1 +XE >= 3.0
- ExtensionCode.ExtensionClass[0]
-
- Show installed count
-
... ... @@ -1,0 +1,1 @@ 1 +Yes - Description
-
... ... @@ -132,7 +132,7 @@ 132 132 133 133 Results in: 134 134 135 -{{image reference=jmx.png/}} 135 +{{image reference="jmx.png"/}} 136 136 137 137 = Example 4: Set Log Level for any XWiki category = 138 138 ... ... @@ -155,6 +155,7 @@ 155 155 {{/code}} 156 156 157 157 = Example 5: Getting a full thread-dump = 158 + 158 158 The below code delivers a thread-dump similar to when the QUIT signal is sent on Unix boxes. 159 159 160 160 {{code}} ... ... @@ -203,7 +203,7 @@ 203 203 def names = server.queryNames(query, null) 204 204 names.each { 205 205 println "== Cache: ${it.getKeyProperty('name')} ==" 206 - def mbean = new GroovyMBean(server, it) 207 + def mbean = new GroovyMBean(server, it, true) 207 207 for(attr in mbean.listAttributeNames()) { 208 208 println "* ${attr}: ${mbean.getProperty(attr)}" 209 209 }