Feb 19th, 2007, 01:30 PM
mixing AttributeSource withing the same MbeanServer ?
are there issues w/ mixing the type of AttributeSource that an MBean uses within a MBeanServer ?
for instance, i've got one Mbean that uses AnnotationJmxAttributeSource, then i've got another Mbean that uses the AttributesJmxAttributeSource and they're both running in the same MbeanServer.
how do i get this to work, if it's possible? it doesn't seem to be allowed.
Feb 19th, 2007, 02:17 PM
actually, i digress. the problem seems to be the "autodetect=true" property on the MBeanExporter.
not sure why that's causing issues, but it's not the AttributeSource.
Feb 20th, 2007, 07:14 AM
solved. i used the autodetectModeName(String) in the property settings and all was well.