We're working on a project based on Spring. In order to control our beans and classes, we've chosen JMX. We are working with annotations (simplest XML possible).
We've created a @Service bean (lets call it A) that is also a @ManagedResource. This bean contains another non-bean complex class (lets call it B, B is not a simple int or string type but rather a user defined class), which is defined as a @ManagedResource as well. We tried to expose B as a @ManagedAttribute. Of course that we've exposed B's attributes with @ManagedAttributes as well.
When we try to connect to this structure via JMX, we're getting RMI exception and no-data in the B leaf node.
Any help we'll be very appreciated.