1 Reply Latest reply on Feb 11, 2010 6:40 PM by mrfixit440

    mbean not found error when upgrading from 4.0.1sp1 to 4.2.3.GA

    mrfixit440
      I have a mbean I create in one war that I try to access in another war.  This works in 4.0.1sp1 but the mbean isn't found in 4.2.3.GA.  Has something changed between versions?
        • 1. Re: mbean not found error when upgrading from 4.0.1sp1 to 4.2.3.GA
          mrfixit440

          I don't get no startup errors so I guess in 4.2.3.GA, mbeans are scoped to be seen only from their respective war file. Another thing, I couldn't see the mbean in jmx-console.

           

          Anyway, I solved this problem by packaging up my mbean in a .sar file and having a startup servlet in my war connect to its MBeanServer and invoking start on it.  This worked.