I am getting error while trying to invoke a method on my custom bean registered in weblogic 8.1 sp4. Both jmanage and weblogic are running on local host. They both use jdk 1.4.2-05 that comes with weblogic.

jManage throws exception that class is not found. The class in question exists on jdk 1.5 only.

Here is the exception:

SEVERE: Error executing operation setEnableProfiling on spring:name=profilingInterceptor
java.lang.RuntimeException: javax.management.ReflectionException: The target object class class javax.management.modelmbean.ModelMBeanOperationInfo could not be found
    at org.jmanage.core.modules.JMXServerConnection.callMBeanServer(JMXServerConnection.java:289)
    at org.jmanage.core.modules.JMXServerConnection.invoke(JMXServerConnection.java:96)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jmanage.core.management.ServerConnectionProxy.invoke(ServerConnectionProxy.java:64)
    at $Proxy0.invoke(Unknown Source)
    at org.jmanage.core.services.MBeanServiceImpl.executeMBeanOperation(MBeanServiceImpl.java:523)
    at org.jmanage.core.services.MBeanServiceImpl.invoke(MBeanServiceImpl.java:501)
    at org.jmanage.webui.actions.app.ExecuteMBeanOperationAction.execute(ExecuteMBeanOperationAction.java:71)
    at org.jmanage.webui.actions.BaseAction.execute(BaseAction.java:41)
    at org.jmanage.webui.JManageRequestProcessor.processActionPerform(JManageRequestProcessor.java:93)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:520)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
    at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
    at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
    at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
    at org.mortbay.http.HttpServer.service(HttpServer.java:879)
    at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
    at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
    at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
    at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
    at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:276)
    at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
Caused by: javax.management.ReflectionException: The target object class class javax.management.modelmbean.ModelMBeanOperationInfo could not be found
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:137)
    at weblogic.management.internal.RemoteMBeanServerImpl_814_WLStub.invoke(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jmanage.core.modules.JMXServerConnection.callMBeanServer(JMXServerConnection.java:283)
    ... 30 more