4 Replies Latest reply on May 23, 2002 8:57 AM by Qingxian Wang

    How to make a custom MBean to be loaded when JBoss finishes

    Qingxian Wang Newbie

      I have standard MBean that using one of the JBoss' classes, say RMIAdaptor. When I started the JBoss server after copied my MBean's SAR file to defautl/deploy directory, I got ClassNotFoundException because JBoss cannot find RMIAdaptor class when deploying my MBean. I have tried to use "" tag, but I couldn't find a appropriate MBean or EJB on which my MBean can depend when JBoss starts up.

      Could anyone tell me which MBean I should set dependency with to allow my MBean to be deployed only after JBoss has start up completely?