Ok, I think I found the real problem:
CDI Injection of @PersistenceContext does not work, when using a
Servlet 2.3 web.xml file (even if its empty except for the header) ,
like this one
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"
http://java.sun.com/dtd/web-app_2_3.dtd" >
<web-app>
</web-app>
I have a test case where I can reproduce this bug.
On Tue, May 11, 2010 at 7:40 PM, Marina Vatkina
<marina.vatkina_at_oracle.com> wrote:
> This command was used in the initial CMP support, when a special wrapper was
> needed around a datasource.
>
> -marina
>
> Dominik Dorn wrote:
>>
>> I'm using Glassfish v3.0.1 promoted from 2010-04-29
>>
>> your command gives me
>> domdorn webapp $ asadmin list-persistence-resources terse=false
>> CLI194 Previously supported command: list-persistence-resources is not
>> supported for this release.
>>
>>
>> On Tue, May 11, 2010 at 5:11 PM, Martin Gainty <mgainty_at_hotmail.com>
>> wrote:
>>
>>>
>>> list-persistence-resources terse=false
>>>
>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
--
Dominik Dorn
http://dominikdorn.com
Tausche Deine Lernunterlagen auf http://www.studyguru.eu !