users@glassfish.java.net

Re: CDI inside OSGI (glassfish v3.1)

From: CasMeiron <casmeiron_at_gmail.com>
Date: Tue, 27 Jul 2010 08:38:18 -0300

Hi,

Yeah, it did the trick, it was missing the empty beans.xml.

Thanks Sivakumar.

-------------------------------
Paulo Reis


On Tue, Jul 27, 2010 at 8:14 AM, Sivakumar Thyagarajan <
Sivakumar.Thyagarajan_at_sun.com> wrote:

> On Monday 26 July 2010 09:24 PM, CasMeiron wrote:
>
>> Hi Roger,
>>
>> I've attached the test.
>>
>> If you run it on glassfish v3.1 you gonna get NullPointerException at
>> line 25:
>>
>> Pojo pojo = pojoInstance.get();
>>
>
> The archive is missing a beans.xml. Does adding a beans.xml help?
>
> Thanks
> --Siva.
>
>>
>>
>> Thanks in advance.
>>
>> -------------------------------
>> Paulo Reis
>>
>>
>> On Mon, Jul 26, 2010 at 12:16 PM, Roger Kitain <roger.kitain_at_oracle.com
>> <mailto:roger.kitain_at_oracle.com>> wrote:
>>
>> the
>>
>