Jason Chaffee wrote:
> I would like to cluster MBeans based on ObjectName, is there an easy way
> to do this?
>
> For example, I have the following classes LoggingMBean.java and
> Logging.java and I have several apps that use these classes but each app
> uses a unique ObjectName.  I would like apps to share attributes of the
> LoggingMBean, but only if they have the same ObjectName.
>   
  Jason, can you give some more details on how you create your Logging 
and LoggingMBean instances and how you publish them in JMX?

  If you are using Spring, you may want to look at the Counter example 
in Terracotta kit.
  
http://www.terracotta.org/confluence/display/docs1/Spring+Quick+Start#SpringQuickStart-JMX
  
http://www.terracotta.org/confluence/display/docs1/Terracotta+for+Spring+Clustering+Tutorial

  regards,
  Eugene


_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to