Details
-
Bug
-
Resolution: Done
-
Major
-
1.0.0.Alpha 9
-
None
Description
So I've removed avail-creator.war through the UI, which by definition runs via the agent.
But still I get these messages in server log that indicate to me that the agent did not scratch those from the list of resources to query for metrics:
13:48:34,005 ERROR [org.hawkular.agent.monitor.protocol.EndpointService] (Hawkular-WildFly-Agent-Scheduler-Metrics-2) HAWKMONITOR010049: Could not access resources of endpoint [DMREndpointService[Endpoint[Local]:[null]]]: org.hawkular.agent.monitor.protocol.ProtocolException: Unsuccessful fetching DMR attribute [expired-sessions]
at org.hawkular.agent.monitor.protocol.dmr.DMRDriver.fetchAttribute(DMRDriver.java:152)
at org.hawkular.agent.monitor.protocol.EndpointService.measureMetrics(EndpointService.java:330)
at org.hawkular.agent.monitor.scheduler.MetricsCollector.run(MetricsCollector.java:60)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: org.hawkular.dmr.api.OperationFailureException: Could not perform operation [read-attribute]: WFLYCTL0216: Management resource '[("deployment" => "hawkular-avail-creator.war")]' not found
at org.hawkular.dmr.api.OperationBuilder$OperationResult.assertSuccess(OperationBuilder.java:422)
at org.hawkular.agent.monitor.protocol.dmr.DMRDriver.fetchAttribute(DMRDriver.java:149)
... 8 more
316813894 [Hawkular-WildFly-Agent-Scheduler-Metrics-2] ERROR org.hawkular.agent.monitor.protocol.EndpointService - HAWKMONITOR010049: Could not access resources of endpoint [DMREndpointService[Endpoint[Local]:[null]]]
org.hawkular.agent.monitor.protocol.ProtocolException: Unsuccessful fetching DMR attribute [expired-sessions]
at org.hawkular.agent.monitor.protocol.dmr.DMRDriver.fetchAttribute(DMRDriver.java:152)
at org.hawkular.agent.monitor.protocol.EndpointService.measureMetrics(EndpointService.java:330)
at org.hawkular.agent.monitor.scheduler.MetricsCollector.run(MetricsCollector.java:60)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: org.hawkular.dmr.api.OperationFailureException: Could not perform operation [read-attribute]: WFLYCTL0216: Management resource '[("deployment" => "hawkular-avail-creator.war")]' not found
at org.hawkular.dmr.api.OperationBuilder$OperationResult.assertSuccess(OperationBuilder.java:422)
at org.hawkular.agent.monitor.protocol.dmr.DMRDriver.fetchAttribute(DMRDriver.java:149)
... 8 more