Thanks Everyone.
Thanks jaikiran! it worked when i moved the persistence.xml to the META-INF within the EJB
jar.
I also found with my existing file structure with the persistence.xml at the top level
META-INF in the ear file. It works if I add the unitName to the
@PersistenceContext annotation.
eg:
@PersistenceContext(unitName=UNIT_NAME)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202572#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...