please describe how you have packaged your application. Are things in an EAR? If not,
what is in which jars?
Also,
@PersistenceContext.name() corresponds to the ENC name. The JNDI lookup name in the
EJB's ENC. i.e. : jndi.lookup("java:comp/env/THENAME")
The unitName() corresponds to the unit name defined in persistence.xml
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974578#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...