You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Cesar Hernandez <ce...@gmail.com> on 2019/08/05 18:27:05 UTC

Re: Metrics issue

Hi Ivan,

Can you share the version of TomEE you were having this issue?
I want to double-check if was or not fixed on current master but I couldn't
reproduce the issue.

El lun., 29 jul. 2019 a las 11:16, Ivan Junckes Filho (<
ivanjunckes@gmail.com>) escribió:

> Ok thanks Romain!
>
> On Mon, Jul 29, 2019 at 1:59 PM Romain Manni-Bucau <rm...@gmail.com>
> wrote:
>
>> More likely refine them to exclude geronimo metrics common. Think it was
>> fixed on master though, not sure it got released.
>>
>> Le lun. 29 juil. 2019 à 18:07, Ivan Junckes Filho <iv...@gmail.com>
>> a écrit :
>>
>>> These are the configs:
>>> openejb.scan.webapp.container = true
>>> openejb.scan.webapp.container.includes =
>>> .*(geronimo|mp-jwt|mp-common|failsafe).*
>>> openejb.scan.webapp.container.excludes =
>>>
>>> Should I remove all of them from the system.properties? Because local I
>>> don't have it.
>>>
>>> On Mon, Jul 29, 2019 at 1:02 PM Romain Manni-Bucau <
>>> rmannibucau@gmail.com> wrote:
>>>
>>>> Hi Ivan
>>>>
>>>> Looks like a tomee config issue, common module shouldnt be scanned, can
>>>> you check your exclusion list?
>>>>
>>>> Le lun. 29 juil. 2019 à 17:47, Ivan Junckes Filho <
>>>> ivanjunckes@gmail.com> a écrit :
>>>>
>>>>> Hey guys, there is an interesting issue happening with metrics in
>>>>> tomee.
>>>>>
>>>>> When I can /metrics in the tomee runnning in my localhost wihout
>>>>> docker I am able to access /metrics endpoint. But in the environment that I
>>>>> use docker to run TomEE I get the issue below on calling /metrics.
>>>>>
>>>>> Anybody can help?
>>>>>
>>>>> 29-Jul-2019 12:41:56.870 WARNING [https-jsse-nio-8181-exec-7]
>>>>> org.apache.cxf.jaxrs.model.OperationResourceInfoComparator.compare Both
>>>>> org.apache.geronimo.microprofile.metrics.jaxrs.CdiMetricsEndpoints#getText
>>>>> and
>>>>> org.apache.geronimo.microprofile.metrics.common.jaxrs.MetricsEndpoints#getText
>>>>> are equal candidates for handling the current request which can lead to
>>>>> unpredictable results
>>>>>
>>>>

-- 
Atentamente:
César Hernández.

Re: Metrics issue

Posted by Ivan Junckes Filho <iv...@gmail.com>.
Hi Cesar, I am using a M2 TomEE. but I may have not replaced the
system.properties as I use docker-compose with volumes.

I still couldn't make it work, I also didn't spend enough time on this. I
will do some more tries and let you know  if I fixed it.

On Mon, Aug 5, 2019 at 3:27 PM Cesar Hernandez <ce...@gmail.com> wrote:

> Hi Ivan,
>
> Can you share the version of TomEE you were having this issue?
> I want to double-check if was or not fixed on current master but I
> couldn't reproduce the issue.
>
> El lun., 29 jul. 2019 a las 11:16, Ivan Junckes Filho (<
> ivanjunckes@gmail.com>) escribió:
>
>> Ok thanks Romain!
>>
>> On Mon, Jul 29, 2019 at 1:59 PM Romain Manni-Bucau <rm...@gmail.com>
>> wrote:
>>
>>> More likely refine them to exclude geronimo metrics common. Think it was
>>> fixed on master though, not sure it got released.
>>>
>>> Le lun. 29 juil. 2019 à 18:07, Ivan Junckes Filho <iv...@gmail.com>
>>> a écrit :
>>>
>>>> These are the configs:
>>>> openejb.scan.webapp.container = true
>>>> openejb.scan.webapp.container.includes =
>>>> .*(geronimo|mp-jwt|mp-common|failsafe).*
>>>> openejb.scan.webapp.container.excludes =
>>>>
>>>> Should I remove all of them from the system.properties? Because local I
>>>> don't have it.
>>>>
>>>> On Mon, Jul 29, 2019 at 1:02 PM Romain Manni-Bucau <
>>>> rmannibucau@gmail.com> wrote:
>>>>
>>>>> Hi Ivan
>>>>>
>>>>> Looks like a tomee config issue, common module shouldnt be scanned,
>>>>> can you check your exclusion list?
>>>>>
>>>>> Le lun. 29 juil. 2019 à 17:47, Ivan Junckes Filho <
>>>>> ivanjunckes@gmail.com> a écrit :
>>>>>
>>>>>> Hey guys, there is an interesting issue happening with metrics in
>>>>>> tomee.
>>>>>>
>>>>>> When I can /metrics in the tomee runnning in my localhost wihout
>>>>>> docker I am able to access /metrics endpoint. But in the environment that I
>>>>>> use docker to run TomEE I get the issue below on calling /metrics.
>>>>>>
>>>>>> Anybody can help?
>>>>>>
>>>>>> 29-Jul-2019 12:41:56.870 WARNING [https-jsse-nio-8181-exec-7]
>>>>>> org.apache.cxf.jaxrs.model.OperationResourceInfoComparator.compare Both
>>>>>> org.apache.geronimo.microprofile.metrics.jaxrs.CdiMetricsEndpoints#getText
>>>>>> and
>>>>>> org.apache.geronimo.microprofile.metrics.common.jaxrs.MetricsEndpoints#getText
>>>>>> are equal candidates for handling the current request which can lead to
>>>>>> unpredictable results
>>>>>>
>>>>>
>
> --
> Atentamente:
> César Hernández.
>