show the exception stack trace
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.
The MBean or invocation context
doesn't have visibility to the class mentioned.
How are you trying to getAttribute?
Where are the classes deployed?