-
Notifications
You must be signed in to change notification settings - Fork 232
Closed
Description
With jolokia-1.2.2, "config":{"ignoreErrors":"true"} does not work anymore:
POST http://localhost:8778/jolokia/
{"attribute":["LastGcInfo","LastCollectionStartTime","LastCollectionEndTime","CollectionTime","CollectionCount"],"type":"READ","config":{"ignoreErrors":"true"},"mbean":"java.lang:name=PS MarkSweep,type=GarbageCollector"}
===========================================================
HTTP/1.1 200 OK
Cache-Control: no-cache
Date: Wed, 03 Sep 2014 11:51:05 GMT
Pragma: no-cache
Content-Length: 2890
Content-Type: text/plain; charset=utf-8
Expires: Wed, 03 Sep 2014 10:51:05 GMT
Client-Date: Wed, 03 Sep 2014 11:51:05 GMT
Client-Peer: 127.0.0.1:8778
Client-Response-Num: 1
{"error_type":"javax.management.AttributeNotFoundException","error":"javax.management.AttributeNotFoundException : No such attribute: LastCollectionStartTime","status":404,"request":{"mbean":"java.lang:name=PS MarkSweep,type=GarbageCollector","attribute":["LastGcInfo","LastCollectionStartTime","LastCollectionEndTime","CollectionTime","CollectionCount"],"type":"read"},"stacktrace":"javax.management.AttributeNotFoundException: No such attribute: LastCollectionStartTime\n\tat com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:81)\n\tat com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:206)\n\tat javax.management.StandardMBean.getAttribute(StandardMBean.java:372)\n\tat com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647)\n\tat com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678)\n\tat org.jolokia.handler.ReadHandler$2.execute(ReadHandler.java:60)\n\tat org.jolokia.backend.executor.AbstractMBeanServerExecutor.call(AbstractMBeanServerExecutor.java:90)\n\tat org.jolokia.handler.ReadHandler.getAttribute(ReadHandler.java:233)\n\tat org.jolokia.handler.ReadHandler.fetchAttributes(ReadHandler.java:189)\n\tat org.jolokia.handler.ReadHandler.doHandleRequest(ReadHandler.java:118)\n\tat org.jolokia.handler.ReadHandler.doHandleRequest(ReadHandler.java:37)\n\tat org.jolokia.handler.JsonRequestHandler.handleRequest(JsonRequestHandler.java:160)\n\tat org.jolokia.backend.MBeanServerHandler.dispatchRequest(MBeanServerHandler.java:97)\n\tat org.jolokia.backend.LocalRequestDispatcher.dispatchRequest(LocalRequestDispatcher.java:98)\n\tat org.jolokia.backend.BackendManager.callRequestDispatcher(BackendManager.java:410)\n\tat org.jolokia.backend.BackendManager.handleRequest(BackendManager.java:158)\n\tat org.jolokia.http.HttpRequestHandler.executeRequest(HttpRequestHandler.java:197)\n\tat org.jolokia.http.HttpRequestHandler.handlePostRequest(HttpRequestHandler.java:137)\n\tat org.jolokia.jvmagent.JolokiaHttpHandler.executePostRequest(JolokiaHttpHandler.java:261)\n\tat org.jolokia.jvmagent.JolokiaHttpHandler.doHandle(JolokiaHttpHandler.java:201)\n\tat org.jolokia.jvmagent.JolokiaHttpHandler.handle(JolokiaHttpHandler.java:175)\n\tat com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77)\n\tat sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)\n\tat com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:80)\n\tat sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:677)\n\tat com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:77)\n\tat sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:649)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n\tat java.lang.Thread.run(Thread.java:745)\n"}
Metadata
Metadata
Assignees
Labels
No labels