ERROR WFLYCTL0013 and WFLYCTL0216 logged when accessing /metrics endpoint after disabling or undeploying an application in JBoss EAP 7.x
Issue
- When an application is disabled or undeployed in JBoss EAP 7.4, repeated
ERRORmessages are logged inserver.logeach time the metrics endpoint (/metrics) is accessed. -
The following error is observed in the logs:
ERROR [org.jboss.as.controller.management-operation] (management I/O-2) WFLYCTL0013: Operation ("read-attribute") failed - address: ([ ("subsystem" => "infinispan"), ("cache-container" => "web"), ("cache" => "application_name.war") ]) - failure description: "WFLYCTL0216: Management resource '[ (\"subsystem\" => \"infinispan\"), (\"cache-container\" => \"web\"), (\"cache\" => \"application_name.war\") ]' not found" -
This error occurs only when metrics are being collected (e.g., via
http://localhost:9990/metrics). - The issue does not impact the actual availability of the application server or other running applications.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7.4.x
- Web application having
<distributable/>that enables Infinispan Web session caching - Metrics subsystem
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.