[jbosscache-dev] Use of isStandalone field in TreeCache

Brian Stansberry brian.stansberry at jboss.com
Sat Nov 4 23:56:10 EST 2006


The isStandalone field in TreeCache is giving me a bit of trouble in
TreeCache.

It's usage seems to be "check if the Configuration.serviceName property
is null/empty. If it's not, don't register the cache with JMX".

I'm not sure what the use case for this behavior is, but it's causing
hassles for me.  With the MC, objects are no longer registered
automatically with JMX.  So, I'm counting on the cache registering
itself. (Actually, I have no choice -- the API leaves no other clean way
to get it registered.)  But, I don't want to use the default ObjectName
JBC uses, so I need to set the serviceName property.  But if I do that,
the cache is no longer getting registered.

Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
Ph: 510-396-3864
skype: bstansberry 

IT executives: Red Hat still #1 for value
http://www.redhat.com/promo/vendor/




More information about the jbosscache-dev mailing list