Le 7 déc. 2011 à 21:40, Vincent Massol a écrit :
The big annoyance with this process is that it can only run on our production server. So thus far I did not dare register a CacheListener in groovy fearing it would suddenly be slow.
Has anyone used a different strategy or tool? I'm happy to post my little monitor script.
FYI, newer versions of XE uses JBoss as the default cache implementation. And JBoss offers JMX support.
Thus you can get all sort of cache stats using JMX.
Thanks Vincent, I knew a better core meant a better xwiki! Now, Ludovic convinced me that it was possible to upgrade the core and it starts to work: running the "old" gui of curriki.org (called curriki8) on xwiki core 3.2. This is quite exciting. I've explored: http://extensions.xwiki.org/xwiki/bin/view/Extension/JMX+Access which tastes right like I need it. But I am not sure to bridge the gap to obtain the information for the cache. I do not see how to port to the world above what I see at: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Monitoring#HXWikiCachesM... thanks in advance for hints. Paul