You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by Romain Manni-Bucau <rm...@gmail.com> on 2013/05/17 17:06:55 UTC

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*

Re: CdiContainer API

Posted by Mark Struberg <st...@yahoo.de>.

txs Romain!


LieGrue,
strub



>________________________________
> From: Romain Manni-Bucau <rm...@gmail.com>
>To: Mark Struberg <st...@yahoo.de>; deltaspike-dev@incubator.apache.org 
>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" <st...@yahoo.de> 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 <rm...@gmail.com>
>>>To: deltaspike-dev@incubator.apache.org
>>>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*
>>>
>>>
>>>
>>
>
>

Re: CdiContainer API

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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" <st...@yahoo.de> a écrit :

>
>
> That was exactly the reason CdiControl for OpenEJB was designed around
> EJBContainer ...
>
> LieGrue,
> strub
>
>
>
>
>
> >________________________________
> > From: Romain Manni-Bucau <rm...@gmail.com>
> >To: Mark Struberg <st...@yahoo.de>;
> deltaspike-dev@incubator.apache.org
> >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" <st...@yahoo.de> 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 <rm...@gmail.com>
> >>> To: deltaspike-dev@incubator.apache.org; Mark Struberg <
> struberg@yahoo.de>
> >>> 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 <rm...@gmail.com>
> >>>
> >>>>  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 <rm...@gmail.com>
> >>>>
> >>>>>  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 <st...@yahoo.de>
> >>>>>
> >>>>>>
> >>>>>>
> >>>>>>  txs Romain!
> >>>>>>
> >>>>>>
> >>>>>>  LieGrue,
> >>>>>>  strub
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>  >________________________________
> >>>>>>  > From: Romain Manni-Bucau <rm...@gmail.com>
> >>>>>>  >To: Mark Struberg <st...@yahoo.de>;
> >>>>>>  deltaspike-dev@incubator.apache.org
> >>>>>>  >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"
> >>> <st...@yahoo.de> 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 <rm...@gmail.com>
> >>>>>>  >>>To: deltaspike-dev@incubator.apache.org
> >>>>>>  >>>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*
> >>>>>>  >>>
> >>>>>>  >>>
> >>>>>>  >>>
> >>>>>>  >>
> >>>>>>  >
> >>>>>>  >
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>
> >>
> >
> >
>

Re: CdiContainer API

Posted by Mark Struberg <st...@yahoo.de>.

That was exactly the reason CdiControl for OpenEJB was designed around EJBContainer ...

LieGrue,
strub





>________________________________
> From: Romain Manni-Bucau <rm...@gmail.com>
>To: Mark Struberg <st...@yahoo.de>; deltaspike-dev@incubator.apache.org 
>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" <st...@yahoo.de> 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 <rm...@gmail.com>
>>> To: deltaspike-dev@incubator.apache.org; Mark Struberg <st...@yahoo.de>
>>> 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 <rm...@gmail.com>
>>>
>>>>  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 <rm...@gmail.com>
>>>>
>>>>>  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 <st...@yahoo.de>
>>>>>
>>>>>>
>>>>>>
>>>>>>  txs Romain!
>>>>>>
>>>>>>
>>>>>>  LieGrue,
>>>>>>  strub
>>>>>>
>>>>>>
>>>>>>
>>>>>>  >________________________________
>>>>>>  > From: Romain Manni-Bucau <rm...@gmail.com>
>>>>>>  >To: Mark Struberg <st...@yahoo.de>;
>>>>>>  deltaspike-dev@incubator.apache.org
>>>>>>  >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"
>>> <st...@yahoo.de> 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 <rm...@gmail.com>
>>>>>>  >>>To: deltaspike-dev@incubator.apache.org
>>>>>>  >>>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*
>>>>>>  >>>
>>>>>>  >>>
>>>>>>  >>>
>>>>>>  >>
>>>>>>  >
>>>>>>  >
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
>

Re: CdiContainer API

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Will not and will not be backported (change can impact app in very very
advanced cases)
Le 18 mai 2013 09:19, "Mark Struberg" <st...@yahoo.de> 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 <rm...@gmail.com>
> > To: deltaspike-dev@incubator.apache.org; Mark Struberg <
> struberg@yahoo.de>
> > 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 <rm...@gmail.com>
> >
> >>  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 <rm...@gmail.com>
> >>
> >>>  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 <st...@yahoo.de>
> >>>
> >>>>
> >>>>
> >>>>  txs Romain!
> >>>>
> >>>>
> >>>>  LieGrue,
> >>>>  strub
> >>>>
> >>>>
> >>>>
> >>>>  >________________________________
> >>>>  > From: Romain Manni-Bucau <rm...@gmail.com>
> >>>>  >To: Mark Struberg <st...@yahoo.de>;
> >>>>  deltaspike-dev@incubator.apache.org
> >>>>  >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"
> > <st...@yahoo.de> 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 <rm...@gmail.com>
> >>>>  >>>To: deltaspike-dev@incubator.apache.org
> >>>>  >>>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*
> >>>>  >>>
> >>>>  >>>
> >>>>  >>>
> >>>>  >>
> >>>>  >
> >>>>  >
> >>>>
> >>>
> >>>
> >>
> >
>

Re: CdiContainer API

Posted by Mark Struberg <st...@yahoo.de>.
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 <rm...@gmail.com>
> To: deltaspike-dev@incubator.apache.org; Mark Struberg <st...@yahoo.de>
> 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 <rm...@gmail.com>
> 
>>  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 <rm...@gmail.com>
>> 
>>>  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 <st...@yahoo.de>
>>> 
>>>> 
>>>> 
>>>>  txs Romain!
>>>> 
>>>> 
>>>>  LieGrue,
>>>>  strub
>>>> 
>>>> 
>>>> 
>>>>  >________________________________
>>>>  > From: Romain Manni-Bucau <rm...@gmail.com>
>>>>  >To: Mark Struberg <st...@yahoo.de>;
>>>>  deltaspike-dev@incubator.apache.org
>>>>  >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" 
> <st...@yahoo.de> 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 <rm...@gmail.com>
>>>>  >>>To: deltaspike-dev@incubator.apache.org
>>>>  >>>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*
>>>>  >>>
>>>>  >>>
>>>>  >>>
>>>>  >>
>>>>  >
>>>>  >
>>>> 
>>> 
>>> 
>> 
> 

Re: CdiContainer API

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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 <rm...@gmail.com>

> 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 <rm...@gmail.com>
>
>> 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 <st...@yahoo.de>
>>
>>>
>>>
>>> txs Romain!
>>>
>>>
>>> LieGrue,
>>> strub
>>>
>>>
>>>
>>> >________________________________
>>> > From: Romain Manni-Bucau <rm...@gmail.com>
>>> >To: Mark Struberg <st...@yahoo.de>;
>>> deltaspike-dev@incubator.apache.org
>>> >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" <st...@yahoo.de> 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 <rm...@gmail.com>
>>> >>>To: deltaspike-dev@incubator.apache.org
>>> >>>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*
>>> >>>
>>> >>>
>>> >>>
>>> >>
>>> >
>>> >
>>>
>>
>>
>

Re: CdiContainer API

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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 <rm...@gmail.com>

> 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 <st...@yahoo.de>
>
>>
>>
>> txs Romain!
>>
>>
>> LieGrue,
>> strub
>>
>>
>>
>> >________________________________
>> > From: Romain Manni-Bucau <rm...@gmail.com>
>> >To: Mark Struberg <st...@yahoo.de>;
>> deltaspike-dev@incubator.apache.org
>> >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" <st...@yahoo.de> 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 <rm...@gmail.com>
>> >>>To: deltaspike-dev@incubator.apache.org
>> >>>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*
>> >>>
>> >>>
>> >>>
>> >>
>> >
>> >
>>
>
>

Re: CdiContainer API

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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 <st...@yahoo.de>

>
>
> txs Romain!
>
>
> LieGrue,
> strub
>
>
>
> >________________________________
> > From: Romain Manni-Bucau <rm...@gmail.com>
> >To: Mark Struberg <st...@yahoo.de>;
> deltaspike-dev@incubator.apache.org
> >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" <st...@yahoo.de> 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 <rm...@gmail.com>
> >>>To: deltaspike-dev@incubator.apache.org
> >>>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*
> >>>
> >>>
> >>>
> >>
> >
> >
>

Re: CdiContainer API

Posted by Mark Struberg <st...@yahoo.de>.

txs Romain!


LieGrue,
strub



>________________________________
> From: Romain Manni-Bucau <rm...@gmail.com>
>To: Mark Struberg <st...@yahoo.de>; deltaspike-dev@incubator.apache.org 
>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" <st...@yahoo.de> 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 <rm...@gmail.com>
>>>To: deltaspike-dev@incubator.apache.org
>>>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*
>>>
>>>
>>>
>>
>
>

Re: CdiContainer API

Posted by Romain Manni-Bucau <rm...@gmail.com>.
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" <st...@yahoo.de> 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 <rm...@gmail.com>
> >To: deltaspike-dev@incubator.apache.org
> >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*
> >
> >
> >
>

Re: CdiContainer API

Posted by Mark Struberg <st...@yahoo.de>.

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 <rm...@gmail.com>
>To: deltaspike-dev@incubator.apache.org 
>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*
>
>
>