You've logged issue:
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1440
Probably best to not cross post so effort is not duplicated.
Here is my response on the issue:
@ManagedProperty is only valid within the context of a class annotated with
@ManagedBean.
Additionally, only managed beans are valid targets for Java EE resource injection.
As to why injection of @PersistenceUnit doesn't work within the context of a
managed bean, you'll need to provide more details. What container are you using?
Have you verified that you web.xml is versioned at 2.5 or later? Is the PU name
correct?
[Message sent by forum member 'rlubke' ]
http://forums.java.net/jive/thread.jspa?messageID=374348