geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: svn commit: r1130358 - in /openejb/trunk/openejb3: container/openejb-core/src/main/java/org/apache/openejb/ container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/ container/openejb-core/src/main/java/org/apache/openejb/cdi/ co
Date Fri, 03 Jun 2011 07:00:29 GMT
We need to figure out where the WebBeansContext is supposed to get created because in the osgi
work it needs to get initialized in its constructor in order to work.

thanks
david jencks

On Jun 2, 2011, at 11:48 PM, Shawn Jiang wrote:

> To continue other works before this is completely fixed,  I have to use
> following code as a workaround locally for now.
> 
> Forward this to geronimo list so that others know this issue.
> 
> org.apache.geronimo.openwebbeans.GeronimoSingletonService.getContext()  {
> 
>  WebBeansContext context = contexts.get();
>        if (context == null) {
>            contexts.set(new WebBeansContext());
>           return contexts.get();
>        }
>        return context;
> }
> 
> On Fri, Jun 3, 2011 at 2:11 PM, Shawn Jiang <genspring@gmail.com> wrote:
> 
>> Just tried two cases, one on appclient passed, a persistence case failed
>> with the same exception.
>> 
>> 
>> On Fri, Jun 3, 2011 at 12:24 PM, Kevan Miller <kevan.miller@gmail.com>wrote:
>> 
>>> 
>>> On Jun 2, 2011, at 7:52 PM, David Blevins wrote:
>>> 
>>>> Checked in a potential fix. Build is still running, but fingers crossed.
>>> 
>>> Hmm. I built OpenEJB and Geronimo, but still seeing same behavior...
>>> 
>>> How about you?
>>> 
>>> --kevan
>>> 
>> 
>> 
>> 
>> --
>> Shawn
>> 
> 
> 
> 
> -- 
> Shawn


Mime
View raw message