3 Replies Latest reply on Mar 3, 2005 12:27 AM by Dimitris Andreadis

    When is ServiceMBeanSupport.server property set?

    Eric Hogberg Newbie

      Writing a MBean, extending ServiceMBeanSupport, that will be invoking methods on other MBean. Problem I'm encountering is that the server property never seems to be populated by the app server. No matter what point of the lifecycle, the server property evaluates to null. Same issue with this.getServer() as well.

      Do I need to specify some magic in the jboss-service.xml mbean declaration to populate this? Or am I just misunderstanding what this attribute is and what it should be used for?

      Using JBoss 4.0.0. Have noticed this on both Win XP and Darwin (OS X), so I suspect the issue is pilot error, rather than a platform bug. :)

      Thanks in advance for pointers,

      -E-