Just tried out with a simple application. I too see the same exception. Looks 
like a bug. 

If your persistence.xml is in the same jar as the beans, then as a workaround, 
change your injection code as follows:

@SuppressWarnings("unused")
  | @PersistenceContext
  | private EntityManager em;

Specifying a "name" attribute to the @PersistenceContext injection seems to be 
creating the issue.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162789#4162789

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162789
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to