Slotos had sent me his EAR, and I had this to comment, in case this might help future readers:
At quick glance, you should definitiely not have a persistence.xml in the META-INF of the EAR. If you'd like to keep a JAR of entities but not mark this JAR for its own persistence unit, skip the persistence.xml in that JAR, include it as a "java" module in application.xml of the EAR, and reference the classes from it that you need in the persistence.xml of the *other* JAR, which should be "ejb" in the EAR's application.xml. ...that's a long run-on sentence, but y'all should get the gist. S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082779#4082779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082779 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
