2009/04/15 - Apache HiveMind has been retired.

For more information, please explore the Attic.

Jakarta > HiveMind
Jakarta
 
Font size:      

Multiple applications in one MBeanServer

If you want to run multiple HiveMind applications which use JMX in a single JVM or application server, then there is a chance of getting naming collisions.

By default HiveMind prepends "HiveMind:" as domain name to the names of all MBeans. For example the service "test.management.Calculator" gets registered using the ObjectName "hivemind:module=test.management,type=service,id=Calculator".

If multiple applications export the same service you should must choose unique domain names for each application. The domain name is configured as ApplicationSymbol:

<contribution configuration-id="hivemind.ApplicationDefaults">
  <default symbol="management.naming.domain" value="myDomain" />
</contribution>