-
Oct 12th, 2005, 08:23 AM
#1
Controlling log4j using Spring JMX and jmanage
I am trying to implement the jmx log4j control defined http://forum.springframework.org/showthread.php?t=18729 using jManage as a front end. I am also using weblogic 8.1 as my mbean server. JManage sees my log4j mbean but when I attempt to invoke the setLogger method through jManage, I get the following exception in the jManage log.
SEVERE: Error executing operation setLogger on log4j:name=settings
java.lang.RuntimeException: javax.management.ReflectionException: The target object class class javax.management.modelmb
ean.ModelMBeanOperationInfo could not be found
at org.jmanage.core.modules.weblogic.WLServerConnecti on.invoke(WLServerConnection.java:73)
at org.jmanage.core.management.ServerConnectionProxy. invoke(ServerConnectionProxy.java:93)
at org.jmanage.core.services.MBeanServiceImpl.execute MBeanOperation(MBeanServiceImpl.java:238)
at org.jmanage.core.services.MBeanServiceImpl.invoke( MBeanServiceImpl.java:216)
at org.jmanage.webui.actions.app.ExecuteMBeanOperatio nAction.execute(ExecuteMBeanOperationAction.java:6 7)
at org.jmanage.webui.actions.BaseAction.execute(BaseA ction.java:41)
at org.jmanage.webui.JManageRequestProcessor.processA ctionPerform(JManageRequestProcessor.java:93)
at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1420)
at org.apache.struts.action.ActionServlet.doPost(Acti onServlet.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(Ser vletHolder.java:358)
at org.mortbay.jetty.servlet.WebApplicationHandler.di spatch(WebApplicationHandler.java:294)
at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.ja va:1807)
at org.mortbay.jetty.servlet.WebApplicationContext.ha ndle(WebApplicationContext.java:525)
at org.mortbay.http.HttpContext.handle(HttpContext.ja va:1757)
at org.mortbay.http.HttpServer.service(HttpServer.jav a:879)
at org.mortbay.http.HttpConnection.service(HttpConnec tion.java:790)
at org.mortbay.http.HttpConnection.handleNext(HttpCon nection.java:961)
at org.mortbay.http.HttpConnection.handle(HttpConnect ion.java:807)
at org.mortbay.http.SocketListener.handleConnection(S ocketListener.java:197)
at org.mortbay.util.ThreadedServer.handle(ThreadedSer ver.java:276)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadP ool.java:511)
Caused by: javax.management.ReflectionException: The target object class class javax.management.modelmbean.ModelMBeanOpe
rationInfo could not be found
at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.java:108)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicR emoteRef.java:137)
at weblogic.management.internal.RemoteMBeanServerImpl _814_WLStub.invoke(Unknown Source)
at org.jmanage.core.modules.weblogic.WLServerConnecti on.invoke(WLServerConnection.java:70)
... 24 more
I followed the jManage weblogic setup. Is there something additional i need to do for Spring? Also, are there any other alternative jmx consoles I can use? I am using j2se 1.4, so I think jconsole is out of the question.
thanks.
-karl
Last edited by robyn; May 14th, 2006 at 06:14 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules