[jboss-user] [EJB 3.0] - Re: Sharing EJB3 classes in a .jar creates

ALRubinger do-not-reply at jboss.com
Thu Oct 19 12:24:54 EDT 2006


"niclas.lindberg" wrote : The Entity EJB3 classes are in the shared-subsystems.jar and the persistence.xml is the accountsystem.jar's meta-inf directory. 

Yep - the error isn't due to classloading; it's to the container not recognizing your classes as entities.

Throw persistence.xml into META-INF of shared-subsystems.jar, where your entities are, and give that a whirl. 

S,
ALR


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979418



More information about the jboss-user mailing list