Observing the below ERROR when we restart the Jboss server group configured in domain mode.
2022-05-09 12:31:11,188 ERROR [org.jboss.as.controller.management-operation] (oneagentperiodiceventsmanaged) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
("subsystem" => "datasources"),
This is stopping datasource connection pool metrics.
We tried to setup optionDelayJmxMetricsMinJava to a value of 10 min as environment variable. however, it didn't solve the issue.
Any thoughts / suggestions please.
Solved! Go to Solution.
@msreddy16 how exactly did you set the optionDelayJmxMetricsMinJava ?
Tried the following.
1. As environment variable.
# env|grep DT
DT_DEBUGFLAGS=optionDelayJmxMetricsMinJava=600
2. As system property at Jboss (domain mode)
<property name="optionDelayJmxMetricsMinJava" value="600" boot-time="true"/>
Hi @msreddy16,
We have faced the similar issue in one of customer places.
You need to ask your consultant to set that flag in debug UI. This will resolves the issue. Access to debug UI is accessible to only Dynatrace employees or the live chat you see up there in the portal. Please contact them they will help.
If I have it in my notes right, it should be following snippet in the JBoss config:
<environment-variables> <variable name="DT_DEBUGFLAGS" value="optionDelayJmxMetricsMinJava=300"/> </environment-variables> </jvm>
Gotcha.. will update JVM settings as suggested and keep you posted.
Thank you!