19 Mar 2024 04:34 PM
Hi all,
we configured connection pools Jboss extension but it shows error state:
the extension execution controller is enabled on both servers
the oneagent feature is also enabled Java Metric Extensions 2.0 (JMX)
but extension failed to connect.
thanks in advance
Solved! Go to Solution.
19 Mar 2024 05:16 PM - edited 19 Mar 2024 05:17 PM
Try checking the logs, you should get some info about the error.
https://docs.dynatrace.com/docs/shortlink/troubleshooting-extensions
19 Mar 2024 08:19 PM
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
20 Mar 2024 07:45 AM
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ő
20 Mar 2024 08:16 AM
@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.
25 Mar 2024 04:21 PM
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 ?
25 Mar 2024 06:45 PM
@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.
11 Sep 2024 01:39 PM
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
11 Sep 2024 01:46 PM
@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.
11 Sep 2024 02:05 PM
Thanks for prompt reply, how can we do that? We're pretty new on this extension version 2.0. Thanks
19 Mar 2024 08:50 PM
@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.
25 Mar 2024 04:22 PM
here is where we checked.