2 Replies Latest reply on Jun 14, 2005 12:02 PM by Jim Dwyer

    JMX start()

    Jim Dwyer Novice

      I have a need to start a MBean upon deployment. i.e. have the start() method called. My bean currently works if I hit the start() method from the jmx-console. What is the easiest way to accomplish this?

        • 1. Re: JMX start()
          Jim Dwyer Novice

          Also. Is creating an MBean the best way to create a long lived process (read not service) that runs in jboss? I have a need for long lived processes that get kicked of by hot deploying an xml file to the deploy directory, or just having the xml there at deployment. Each process will be different, use different plugins and such but are all created from the same MBean.

          • 2. Re: JMX start()
            Jim Dwyer Novice

            OK. I got it working. I made a boo boo!