<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">When running the test suite I see:<div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>WARN &nbsp;[ComponentsJmxRegistration] (pool-1-thread-9) Jmx domain already in use</div><div><br></div><div>Is this as severe a problem as a WARN? &nbsp;It should be entirely possible that people register > 1 cache managers with the same MBean Server. &nbsp;Perhaps rather than log such a severe warning, we should use a counter if the domain is repeated? &nbsp;E.g.,&nbsp;</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>jmxDomain:&lt;managerInstanceNumber>:global:&lt;componentName></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>jmxDomain:&lt;managerInstanceNumber>:&lt;cachename>:&lt;componentName></div><div><br></div><div>WDYT?</div><div><br></div><div>Cheers</div><div>Manik</div><div><br></div><div><div>On 25 Mar 2009, at 10:45, Mircea Markus wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Manik Surtani wrote:<br><blockquote type="cite"><br></blockquote><blockquote type="cite">On 25 Mar 2009, at 06:22, Mircea Markus wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">implementation finished.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Following features were added, compared with JBossCache:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">1) jmx domain care be specified now.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">2) an MBeanServer lookup can be configured, to lookup the server on which the components will be registered - in prev version the PlatformMBeanServer was hardcoded (now it's only an default)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">3) missing unit tests were added for all the annotated MBeans<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">4) jmx is now configured in two places:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;- in global section: to enable exposure of shared information (rpc manager info, cache manager info)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;e.g &lt;globalJmxStatistics enabled="true" jmxDomain="infinispan" mBeanServerLookup="org.infinispan.jmx.PerThreadMBeanServerLookup" /><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;- for each cache, where cache specific info is configured(mainly interceptors, which now are cache specific)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">e.g. &lt;jmxStatistics enabled="false"/><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">How are objects registered in JMX? &nbsp;I'm guessing jmxDomain:&lt;component> for stuff on the cache manager, and jmxDomain:&lt;cacheName>:&lt;component> for cache-level components?<br></blockquote>jmxDomain:global: [component name] for cache manager stuff<br>for cache level is as you mentioned.<br><blockquote type="cite"><br></blockquote><blockquote type="cite">Cheers<br></blockquote><blockquote type="cite">Manik<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite">Manik Surtani<br></blockquote><blockquote type="cite">Lead, JBoss Cache<br></blockquote><blockquote type="cite"><a href="http://www.jbosscache.org">http://www.jbosscache.org</a><br></blockquote><blockquote type="cite">manik@jboss.org &lt;<a href="mailto:manik@jboss.org">mailto:manik@jboss.org</a>><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-infinispantal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-infinispantal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Manik Surtani</div><div>Lead, JBoss Cache</div><div><a href="http://www.jbosscache.org">http://www.jbosscache.org</a><br><a href="mailto:manik@jboss.org" target="_blank">manik@jboss.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></div></body></html>