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

Jboss connection pools extension with error

MariettaAlmeida
Organizer

Hi all,

we configured connection pools Jboss extension but it shows error state:

MariettaAlmeida_0-1710865785582.png

the extension execution controller is enabled on both servers

MariettaAlmeida_1-1710865880582.png

the oneagent feature is also enabled Java Metric Extensions 2.0 (JMX)

MariettaAlmeida_2-1710865962652.png

but extension failed to connect. 

 

thanks in advance

 

11 REPLIES 11

Eric_Yu
Dynatrace Mentor
Dynatrace Mentor

Try checking the logs, you should get some info about the error.

Eric_Yu_2-1710868448062.png

https://docs.dynatrace.com/docs/shortlink/troubleshooting-extensions

Eric Yu | LATAM ACE Consultant

There is no info, we are ingesting the logs also, maybe is there something i must check about the logs? Cause there are no logs but just for the extension

Hi @Eric_Yu,

Unfortunately at many extesnions it is useless, because the result is an empty log viewer screen. It is quite annoying...

Best regards,

Mizső

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

@Mizső it depends on the extension. Unfortunately, JMX has no logging. It also struggled with that for a while, to diagnose if it's activated it's best to see the OneAgent log for the particular Java process.

For JBoss connection pools it's common that you don't have connection pools of certain type in your applications, then the MBeans are missing and the extension status will show error. Yes, this is highly misleading. 

But most important information is, that you will not see the metrics in the classic screens, but in the Metrics and log analysis. So they are hidden a little bit.

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

thank you a lot @Julius_Loman we checked on that part and we have data. You also say that is common that certain type of applications  dont show the connection pools, what kind of apps are you refering to ? 

@MariettaAlmeida for example for JBoss you have connection pools and XA connection pools. your application server may have just of one those. Extension queries both MBean types.

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

Hi Julius, so in any case, for any possible error, the same message will be returned? Asking that because we have an automatic process that checks extensions' status and alerts us and we'd like to filter those kind of errors to avoid misleading alerting.

Thanks

@paolo_fumanelli  that's a question for Dynatrace PM team. @michal_nalezin are there improvements planned in terms of JMX logging ?

In the meantime, I'd recommend disabling the feature set for the JBoss database connection types you  don't use. 

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

Thanks for prompt reply, how can we do that? We're pretty new on this extension version 2.0. Thanks

Julius_Loman
DynaMight Legend
DynaMight Legend

@MariettaAlmeida most likely the extension works as expected. Unfortunately, it will always report an error status as long there is some jmx mbean or attribute which cannot be found. There is zero logging for JMX extensions at this time.

Have you checked if the metrics are being collected? They can be found in the Metrics and log analysis menu for the process group instance.

Julius_Loman_0-1710881342673.png

 

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

here is where we checked.

Featured Posts