Re: [2/5] tomee git commit: Added Jackson notice to plus and plume.

2018-10-12 Thread Romain Manni-Bucau
this is an optional part so we can workaround it and we should open an issue to ask AMQ to use jsonb. They are preparing a release these days so hopefully it can make it. Romain Manni-Bucau @rmannibucau | Blog | Old Blog

TomEE8 RC2: MP Metrics @Counted throws 500

2018-10-12 Thread César Hernández Mendoza
Hi, Within a JAX-RS resource I annotated the following method: @Counted(name = "cesar", absolute = true, monotonic = true) @GET public String message() { return "Hi Microprofile JWT!"; } Metric endpoint http://localhost:8181/moviefun/rest/metrics/ works fine. GET to http://localhost:8181/m

Re: [2/5] tomee git commit: Added Jackson notice to plus and plume.

2018-10-12 Thread Roberto Cortez
Hi Romain, Jackson is now included by activemq-broker 5.15. It is using their API directly. I’m not sure if we can remove it. Here: https://github.com/apache/activemq/blob/e8ba0b0119df071e809861b4e4a4632d089a5055/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/DestinationsViewFilte

Fwd: [2/5] tomee git commit: Added Jackson notice to plus and plume.

2018-10-12 Thread Romain Manni-Bucau
Hello Roberto Any reason to not exclude it as usual? -- Forwarded message - From: Date: ven. 12 oct. 2018 23:36 Subject: [2/5] tomee git commit: Added Jackson notice to plus and plume. To: Added Jackson notice to plus and plume. Project: http://git-wip-us.apache.org/repos/as

Re: TomEE8: BValCdiFilter not initialized

2018-10-12 Thread Roberto Cortez
Ok! Thanks! > On 12 Oct 2018, at 17:23, Thomas Andraschko > wrote: > > *start any app with the maven embedded plugin > > Roberto Cortez schrieb am Fr., 12. Okt. 2018, > 17:21: > >> Hi Thomas, >> >> If you already have an app that you can share with me that reproduces the >> issue it would b

Re: TomEE8: BValCdiFilter not initialized

2018-10-12 Thread Thomas Andraschko
*start any app with the maven embedded plugin Roberto Cortez schrieb am Fr., 12. Okt. 2018, 17:21: > Hi Thomas, > > If you already have an app that you can share with me that reproduces the > issue it would be great. If not I’ll do one here. > > Cheers, > Roberto > > > On 12 Oct 2018, at 15:37,

Re: TomEE8: BValCdiFilter not initialized

2018-10-12 Thread Thomas Andraschko
I cant share it sorry. But you can just deploy any App and check the static field in the bvalExtension Roberto Cortez schrieb am Fr., 12. Okt. 2018, 17:21: > Hi Thomas, > > If you already have an app that you can share with me that reproduces the > issue it would be great. If not I’ll do one her

Performance issue in cxf-rt-rs-client-3.1.15.jar

2018-10-12 Thread COURTAULT Francois
Hello, Just to keep you informed. During some performance/stress tests using TomEE 7.1.0 we have found an issue with REST client. After re-analyzing thread dumps, we found several threads with this pattern: java.lang.Thread.State: RUNNABLE at java.util.WeakHashMap.put(WeakHashMap.ja

RE: [ANNOUNCE] Apache TomEE 7.1.0 Released

2018-10-12 Thread COURTAULT Francois
Hello, Differences between TomEE 7.0.5 and 7.1 (quick analysis): - bcprov-jdk15on-1.60.jar instead of bcprov-jdk15on-1.57.jar - geronimo-jsonb_1.0_spec-1.0.jar added - johnzon-jsonb-1.0.1.jar added - mbean-annotation-api-7.1.0.jar instead of mbean-annotation-api-7.0.5.jar - openejb-*-7.1.0.jar ins

Re: TomEE 8 Release Preview

2018-10-12 Thread César Hernández Mendoza
Hi everyone, Just to inform that the issue I reported for RC1 for org.apache.cxf.jaxrs.utils.InjectionUtils.reportServerError is now fixed in RC2 :). El mié., 3 oct. 2018 a las 13:55, César Hernández Mendoza (< cesargu...@gmail.com>) escribió: > Hi everyone, > > I have a simple REST app that is w

Re: TomEE8: BValCdiFilter not initialized

2018-10-12 Thread Roberto Cortez
Hi Thomas, If you already have an app that you can share with me that reproduces the issue it would be great. If not I’ll do one here. Cheers, Roberto > On 12 Oct 2018, at 15:37, Thomas Andraschko > wrote: > > Yep, it doesn't work there either. > BVal 1.x doesn't require so much metadata-loo

Re: TomEE8: BValCdiFilter not initialized

2018-10-12 Thread Thomas Andraschko
Yep, it doesn't work there either. BVal 1.x doesn't require so much metadata-lookup as 2.x, so therefore the overhead is now much bigger in TomEE8.x now Am Fr., 12. Okt. 2018 um 16:32 Uhr schrieb Roberto Cortez : > Did you check if this also happens in TomEE 7.x? > > > On 12 Oct 2018, at 15:29

Re: TomEE8: BValCdiFilter not initialized

2018-10-12 Thread Roberto Cortez
Did you check if this also happens in TomEE 7.x? > On 12 Oct 2018, at 15:29, Thomas Andraschko > wrote: > > Yep > 1 min ago i just verified that it only occurs on embedded-maven-plugin > > maybe you have a good idea to fix it > > in meantime i will check if we should enhance the BValCdiFilter

Re: TomEE8: BValCdiFilter not initialized

2018-10-12 Thread Thomas Andraschko
Yep 1 min ago i just verified that it only occurs on embedded-maven-plugin maybe you have a good idea to fix it in meantime i will check if we should enhance the BValCdiFilter. Am Fr., 12. Okt. 2018 um 16:25 Uhr schrieb Roberto Cortez : > Thomas, you mean that in the same context and execution

Re: TomEE8: BValCdiFilter not initialized

2018-10-12 Thread Roberto Cortez
Thomas, you mean that in the same context and execution if you try loadClass you get the ClassNotFound but the Class.forName is able to load the class? Cheers, Roberto > On 12 Oct 2018, at 13:44, Romain Manni-Bucau wrote: > > ok, means the TCCL can have changed and be wrong here due to a chang

Re: TomEE8: BValCdiFilter not initialized

2018-10-12 Thread Romain Manni-Bucau
ok, means the TCCL can have changed and be wrong here due to a change in the eager boot code which can capture apploader or maven classloader instead of the mojo classloader. Romain Manni-Bucau @rmannibucau | Blog | Old Blog

Re: TomEE8: BValCdiFilter not initialized

2018-10-12 Thread Thomas Andraschko
i'm on tomee-embedded-maven-plugin Am Fr., 12. Okt. 2018 um 14:09 Uhr schrieb Romain Manni-Bucau < rmannibu...@gmail.com>: > hmm the loader is the parent loader (container one) and it must work, are > you in a plain tomee or another flavor like tomee-embedded or other? > Class.forName uses the ca

Re: TomEE8: BValCdiFilter not initialized

2018-10-12 Thread Romain Manni-Bucau
hmm the loader is the parent loader (container one) and it must work, are you in a plain tomee or another flavor like tomee-embedded or other? Class.forName uses the caller classloader which should be the same here in the best case Romain Manni-Bucau @rmannibucau

Re: TomEE8: BValCdiFilter not initialized

2018-10-12 Thread Thomas Andraschko
I dont think thats related to bval, class.forName works fine Romain Manni-Bucau schrieb am Fr., 12. Okt. 2018, 12:20: > Le ven. 12 oct. 2018 11:10, Thomas Andraschko > > a écrit : > > > Hi, > > > > found a bug, which is related to a slow startup as discussed in the other > > thread. > > > > See

Re: TomEE8: BValCdiFilter not initialized

2018-10-12 Thread Romain Manni-Bucau
Le ven. 12 oct. 2018 11:10, Thomas Andraschko a écrit : > Hi, > > found a bug, which is related to a slow startup as discussed in the other > thread. > > See: https://issues.apache.org/jira/browse/TOMEE-2258 > the lookup: loader.loadClass("org.apache.openejb.bval.BValCdiFilter") > fails with a Cl

TomEE8: BValCdiFilter not initialized

2018-10-12 Thread Thomas Andraschko
Hi, found a bug, which is related to a slow startup as discussed in the other thread. See: https://issues.apache.org/jira/browse/TOMEE-2258 the lookup: loader.loadClass("org.apache.openejb.bval.BValCdiFilter") fails with a ClassNotFound could someone check this? We could easily change it to Clas