No it's a wrong logging statement. It should still work as expected though

Le lun. 30 oct. 2023, 15:49, Bart van Leeuwen <bart_van_leeu...@netage.nl>
a écrit :

> Hi Jean-Louis,
>
> So for my understanding, it was not a misconfiguration in my application?
>
> I look forward to the snapshot and play with that.
>
> Met Vriendelijke Groet / With Kind Regards
> Bart van Leeuwen
>
>
>
> From:   "Jean-Louis Monteiro" <jlmonte...@tomitribe.com>
> To:     users@tomee.apache.org
> Date:   30-10-2023 14:26
> Subject:        Re: SEVERE - Can't initialize Metrics Registrar
>
>
>
> Hi Brice,
>
> I have created an issue for you
> https://issues.apache.org/jira/browse/TOMEE-4267
>
> I have a small fix to avoid multiple registration of the JMX Registrar
> when
> there are multiple applications deployed. I'll try to push this today so
> you can try with a new snapshot.
>
> Best regards
> --
> Jean-Louis Monteiro
> http://twitter.com/jlouismonteiro
> http://www.tomitribe.com
>
>
> On Fri, Oct 27, 2023 at 12:53 PM Bart van Leeuwen <
> bart_van_leeu...@netage.nl> wrote:
>
> > 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
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
>

Reply via email to