3 Replies Latest reply on Sep 4, 2002 8:48 AM by Adrian Brock

    Custom MBean for connector lifecycle

    Glen Cordrey Newbie

      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

      What magic am I missing?