At quick look:

You have @PersistenceContext(unitName = "empmstEntityManager") atop your entity 
bean..

This is used to inject the EM into the underlying field.  To make your Entity 
become a part of the EM, ensure its packaged into its own JAR (along with the 
other Entity beans) with a persistence.xml in the root-level META-INF directory.

Give a try?  This is the mechanism I use, according to:

http://docs.jboss.org/ejb3/app-server/tutorial/packaging/packaging.html

S,
ALR

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

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

Reply via email to