Showing results for 
Show  only  | Search instead for 
Did you mean: 

Oneagent starting too early before jboss gets started


Observing the below ERROR when we restart the Jboss server group configured in domain mode.

2022-05-09 12:31:11,188 ERROR [] (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.


DynaMight Guru
DynaMight Guru

@msreddy16 how exactly did you set the optionDelayJmxMetricsMinJava ?

Certified Dynatrace Master | TEMPEST a.s., Slovakia, Dynatrace Master Partner

Tried the following.

1. As environment variable.

# env|grep DT


2. As system property at Jboss  (domain mode)

<property name="optionDelayJmxMetricsMinJava" value="600" boot-time="true"/>

Dynatrace Pro
Dynatrace Pro

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. 

Love more, hate less; Technology for all, together we grow.

DynaMight Guru
DynaMight Guru

If I have it in my notes right, it should be following snippet in the JBoss config:

                    <variable name="DT_DEBUGFLAGS" value="optionDelayJmxMetricsMinJava=300"/>


Certified Dynatrace Master | TEMPEST a.s., Slovakia, Dynatrace Master Partner

Gotcha.. will update JVM settings as suggested and keep you posted.

Thank you!