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

Oneagent starting too early before jboss gets started

msreddy16
Newcomer

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.

5 REPLIES 5

Julius_Loman
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
DT_DEBUGFLAGS=optionDelayJmxMetricsMinJava=600

 

2. As system property at Jboss  (domain mode)

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

theharithsa
Dynatrace Mentor
Dynatrace Mentor

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.

Julius_Loman
DynaMight Guru
DynaMight Guru

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>

 

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

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

Thank you!