Re: SEVERE - Can't initialize Metrics Registrar

Bart van Leeuwen <[email protected]> Thu, 26 Oct 2023 16:26:17 +0200
Newsgroups gmane.comp.java.openejb.user
Message-ID <OFB0DF4AED.605FEB23-ONC1258A54.004F247F-C1258A54.004F4FD6@netage.nl>
Hi,

Looking at the source code where this error comes from it seems it is 
related to Tomee Microprofile.

The error occurs when multiple apps are deployed, I have not been able yet 
to find what attributes the apps need to have to casue this error.

Met Vriendelijke Groet / With Kind Regards
Bart van Leeuwen



From:   "Bart van Leeuwen" <[email protected]>
To:     [email protected]
Date:   26-10-2023 12:59
Subject:        SEVERE - Can't initialize Metrics Registrar



Hi,

When deploying an app on Tomee 9.1.1 I get the following error on the 
console:


SEVERE - Can't initialize Metrics Registrar: SRMET00009: Gauge with id 
MetricID{name='classloader.loadedClasses.count', tags=[]} already exists

The app is a war which contains a MessageDriven class
I'm not using any of the metrics etc, nor can I find information about 
this error.

The app works without any issues.

Thanks in advance,

Met Vriendelijke Groet / With Kind Regards
Bart van Leeuwen