The following Error occurs hundreds of time during the agent startup.
ERROR [org.jboss.as.controller.management-operation] (apm-jmx-client-pool-2:worker thread-2) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
("subsystem" => "jca"),
("workmanager" => "default"),
("short-running-threads" => "default")
]) - failure description: "WFLYCTL0216: Management resource '[(\"subsystem\" => \"jca\")]' not found"
ERROR [org.jboss.as.controller.management-operation] (apm-jmx-client-pool-2:worker thread-2) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
("subsystem" => "jca"),
("workmanager" => "default"),
("short-running-threads" => "default")
]) - failure description: "WFLYCTL0216: Management resource '[(\"subsystem\" => \"jca\")]' not found"
How can I configure the agent so that I don't see this error.
Release : 23.1
Modified the bundle.properties to remove the JCA module from the white list.
introscope.agent.remotejmx.system.s1.mbeanPatternsWhiteList=jboss.modules:type=ModuleLoader;jboss.as:subsystem=jca;jboss.as:subsystem=datasources;metrics*:*
An alternative way to exclude it.
Prevent a Module Being Implicitly Loaded
The same applies to the subsystem "datasources":
ERROR [org.jboss.as.controller.management-operation] (apm-jmx-client-pool-2:worker thread-2 - ) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "AdvancedReportingDS_Pool")
]) - failure description: "WFLYCTL0216: Management resource '[(\"subsystem\" => \"datasources\")]' not found"