This question was posted before but hidden in the thread "Register with JNDI." The question was never answer, so I?m trying again. We run multiple JMX applications. The thread "Register with JNDI" describes how to have each application autodiscovered. The autodiscovery works great. The problem is that each service has the same name. I would like to make the names unique, preferably with the port number. The host server has a name ? platform.name Sun JVM 1.5 % port. I would like something similar.
The name for autoinventory is
<property name="AUTOINVENTORY_NAME"
value="%platform.name% FOO %name%"/>
I would like something like
<property name="AUTOINVENTORY_NAME"
value="%platform.name% FOO %name% @ %port%"/>
Or
<property name="AUTOINVENTORY_NAME"
value="%platform.name% FOO %name% %server.name%/>
I have done some experimentation without success. Is there a way to make each unique?
Thanks
Bob