[jboss-user] [EJB 3.0] - Re: Sharing EJB3 classes in a .jar creates
ALRubinger
do-not-reply at jboss.com
Thu Oct 19 11:11:45 EDT 2006
When you moved your entity beans into "subsystems-shared.jar", are you also moving the persistence.xml? And removing persistence.xml from "subsystem.jar"?
Boot up and take a look at the JMX Console, under the heading "persistence.units". If you see more than one entry, and an EAR>JAR>UNITNAME one, this could be a clue that you're services are trying to use the wrong persistence unit (I accidentally did this recently).
Good luck.
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979387#3979387
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979387
More information about the jboss-user
mailing list