Re: SEVERE - Can't initialize Metrics Registrar
Jean-Louis Monteiro <[email protected]> Fri, 27 Oct 2023 12:01:58 +0200
| Newsgroups | gmane.comp.java.openejb.user |
|---|---|
| Message-ID | <CAPkio3GCqV0qKcqNn_kafkGfXJwx8gYC0oD_0bF82Eo5U+DZJA__29946.2864569918$1698401013$gmane$org@mail.gmail.com> |
Thanks for reporting and reproducing the issue. It definitely helps us Le ven. 27 oct. 2023, 11:36, Bart van Leeuwen <[email protected]> a écrit : > Hi, > > I've created a simple testcase which creates a war file which when > deployed for a second time with a different name generates the error > > https://github.com/semanticfire/tomee-test > > Take a Tomee Plus 9.1.0 and copy test.war to webapps/test1.war and > webapps/test2.war > > The deployment of test2.war will result in the error. > > Met Vriendelijke Groet / With Kind Regards > Bart van Leeuwen > > > > > From: "Bart van Leeuwen" <[email protected]> > To: [email protected] > Date: 26-10-2023 16:27 > Subject: Re: SEVERE - Can't initialize Metrics Registrar > > > > 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 > > > > > > >