3 Replies Latest reply on Sep 4, 2002 8:48 AM by adrian.brock

    Custom MBean for connector lifecycle

    glenc

      How to I install and activate a custom MBean to provide
      lifecycle support for a connector?

      MyCustomMBean extends ServiceMBeanSupport and currently
      simply does printlns in the startService/stopService methods to verify they
      are executing. I have added to my-service.xml, which defines my custom JCA connector, the lines



      No errors are reported when JBoss starts up, but MyCustomMBean doesn't show up in the Agent View, and the
      output of the printlns never shows up. If I don't include
      MyCustomMBean.class in the deployment rar I also get no
      error messages, which seems to indicate that my
      <mbean code= entry in my-service.xml isn't having any
      effect.

      What magic am I missing?