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

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