3 Replies Latest reply on Jul 6, 2003 1:02 PM by adrian.brock

    managing servlets

    shushu

      Hi.

      I wrote a management bean, to manage some stuff (servlets) in a war file. the mbean implementation call some methods for the servlets.

      The mbean is deployed as "sar" file outside the "war" file. The deployment phase gone fine, but when presenting the mbean info through the jms-console, I get runtime exception while my mbean tries to invoke static method from the servlet.

      Anyone??

      Thanks

        • 1. Re: managing servlets

          show the exception stack trace

          • 2. Re: managing servlets
            shushu

            The exception as requested:

            RuntimeErrorException: Error in MBean when getting attribute 'NumberOfConnectedUsers'Cause: java.lang.NoClassDefFoundError: com/cti2/indicator/SaxDispatcher

            The MBean call a method from the SaxDispatcher class.

            Please help.

            Thanks.

            Oded Hasidi

            • 3. Re: managing servlets

              The MBean or invocation context
              doesn't have visibility to the class mentioned.

              How are you trying to getAttribute?
              Where are the classes deployed?

              Regards,
              Adrian