EJBContainer is not it at all. It respects classloader hierarchy etc... not cdictlr beczuse of BeanProvider usage which is highly wrong at startup Le 18 mai 2013 13:44, "Mark Struberg" <[email protected]> a écrit :
> > > That was exactly the reason CdiControl for OpenEJB was designed around > EJBContainer ... > > LieGrue, > strub > > > > > > >________________________________ > > From: Romain Manni-Bucau <[email protected]> > >To: Mark Struberg <[email protected]>; > [email protected] > >Sent: Saturday, 18 May 2013, 9:54 > >Subject: Re: CdiContainer API > > > > > > > >Will not and will not be backported (change can impact app in very very > advanced cases) > >Le 18 mai 2013 09:19, "Mark Struberg" <[email protected]> a écrit : > > > >Hi Romain! > >> > >>It works now with openejb-4.6.0-SNAPSHOT latest. But we also need to > test with openejb-4.5.0...4.5.2 etc. > >> > >>LieGrue, > >>strub > >> > >> > >> > >> > >>----- Original Message ----- > >>> From: Romain Manni-Bucau <[email protected]> > >>> To: [email protected]; Mark Struberg < > [email protected]> > >>> Cc: > >>> Sent: Saturday, 18 May 2013, 0:04 > >>> Subject: Re: CdiContainer API > >>> > >>> Ok, > >>> > >>> hacked xbean about it (in the surefire integration). can you retest > taking > >>> a fresh xbean snapshot? (i didnt redeploy it from windows) > >>> > >>> *Romain Manni-Bucau* > >>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > >>> *Blog: > >>> **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/ > > > >>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > >>> *Github: https://github.com/rmannibucau* > >>> > >>> > >>> > >>> 2013/5/17 Romain Manni-Bucau <[email protected]> > >>> > >>>> hmm, maybe a surefire issue in fact - maybe activate the xbean > property to > >>>> not use getURLs > >>>> > >>>> we have a hack for surefire which highly sucks because using > >>>> URLClassLoader without having implemented getURLs() > >>>> > >>>> *Romain Manni-Bucau* > >>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > >>>> *Blog: > >>> **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/ > > > >>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > >>>> *Github: https://github.com/rmannibucau* > >>>> > >>>> > >>>> > >>>> 2013/5/17 Romain Manni-Bucau <[email protected]> > >>>> > >>>>> just tested again with an app fully cdi (no ejb, no web...) and > under > >>>>> windows 7...all green > >>>>> > >>>>> no idea which issue you get :( > >>>>> > >>>>> *Romain Manni-Bucau* > >>>>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > >>>>> *Blog: > >>> **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/ > > > >>>>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > >>>>> *Github: https://github.com/rmannibucau* > >>>>> > >>>>> > >>>>> > >>>>> 2013/5/17 Mark Struberg <[email protected]> > >>>>> > >>>>>> > >>>>>> > >>>>>> txs Romain! > >>>>>> > >>>>>> > >>>>>> LieGrue, > >>>>>> strub > >>>>>> > >>>>>> > >>>>>> > >>>>>> >________________________________ > >>>>>> > From: Romain Manni-Bucau <[email protected]> > >>>>>> >To: Mark Struberg <[email protected]>; > >>>>>> [email protected] > >>>>>> >Sent: Friday, 17 May 2013, 20:32 > >>>>>> >Subject: Re: CdiContainer API > >>>>>> > > >>>>>> > > >>>>>> > > >>>>>> >Ejbcontainer cheats too much and can be broken very very > >>> easily. > >>>>>> >Ill dig why cdi jars are not listed in appinfo. It should be in > >>> ejbjars > >>>>>> >Le 17 mai 2013 20:22, "Mark Struberg" > >>> <[email protected]> a écrit : > >>>>>> > > >>>>>> > > >>>>>> >> > >>>>>> >>it seems to be a combination of your DeltaSpike changes + > >>> the OpenEJB > >>>>>> changes. > >>>>>> >> > >>>>>> >> > >>>>>> >>DeltaSpike using EJBContainer + an OpenEJB version of prior > >>> 15.3. does > >>>>>> work fine. > >>>>>> >> > >>>>>> >>Either using your code in CdiControl or a newer OpenEJB > >>> verision > >>>>>> breaks the build in the same way. > >>>>>> >> > >>>>>> >>LieGrue, > >>>>>> >>strub > >>>>>> >> > >>>>>> >>>________________________________ > >>>>>> >>> From: Romain Manni-Bucau <[email protected]> > >>>>>> >>>To: [email protected] > >>>>>> >>>Sent: Friday, 17 May 2013, 17:06 > >>>>>> >>>Subject: CdiContainer API > >>>>>> >>> > >>>>>> >>> > >>>>>> >>>Hi guys, > >>>>>> >>> > >>>>>> >>>"2" question on cdictrl API: > >>>>>> >>> > >>>>>> >>>1) why CdiContainer doesn't expose a method > >>> createCDIContainer > >>>>>> (static) and > >>>>>> >>>a method close() (+ implements Closeable)? > >>>>>> >>>2) why not CDIContainer? > >>>>>> >>> > >>>>>> >>>You probably got the question were referring to the > >>> EJBContainer API > >>>>>> which > >>>>>> >>>used other conventions. > >>>>>> >>> > >>>>>> >>> > >>>>>> >>> > >>>>>> >>>*Romain Manni-Bucau* > >>>>>> >>>*Twitter: @rmannibucau > >>> <https://twitter.com/rmannibucau>* > >>>>>> >>>*Blog: **http://rmannibucau.wordpress.com/*< > >>>>>> http://rmannibucau.wordpress.com/> > >>>>>> >>>*LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > >>>>>> >>>*Github: https://github.com/rmannibucau* > >>>>>> >>> > >>>>>> >>> > >>>>>> >>> > >>>>>> >> > >>>>>> > > >>>>>> > > >>>>>> > >>>>> > >>>>> > >>>> > >>> > >> > > > > >
