1 Reply Latest reply on May 2, 2002 2:44 PM by Adrian Brock

    MBeans and 3.0.0

    Stephen J. Thompson Newbie

      Hello all,

      I am having a bit of a problem. I need to deploy an MBean
      and I am unsure on how to achieve this.

      I have created the MBean and now I need to know if it has
      to go into an "SAR" archive? or something else.

      If I have to place it into a "SAR" archive, what else needs
      to go in there? and where do I deploy it?

      Does anyone have a small example?



        • 1. Re: MBeans and 3.0.0
          Adrian Brock Master

          You have two choices.

          1) Create a sar.
          Code and config in the same archive.
          See jmx-ejb-connector-server.sar
          for how to contruct this.

          2) Put your code in a jar and have a myservice.xml with

          at the top, look at one of the other xml files

          Either way, add them to server/default/deploy where
          you will find the other examples.