Perfect, Mind you these errors occurred in the process of migrating multiple apps from Tomee 8 to Tomee 9.
So if the app needs to be configured differently in that environment, please send me a PR on the repo. Met Vriendelijke Groet / With Kind Regards Bart van Leeuwen From: "Jean-Louis Monteiro" <jlmonte...@tomitribe.com> To: users@tomee.apache.org Date: 27-10-2023 12:03 Subject: Re: SEVERE - Can't initialize Metrics Registrar Thanks for reporting and reproducing the issue. It definitely helps us Le ven. 27 oct. 2023, 11:36, Bart van Leeuwen <bart_van_leeu...@netage.nl> 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" <bart_van_leeu...@netage.nl> > To: users@tomee.apache.org > 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" <bart_van_leeu...@netage.nl> > To: users@tomee.apache.org > 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 > > > > > > >