[jboss-user] [EJB 3.0] - Re: One PersistenceUnit, multiple DataSources

2008-01-04 Thread fla83tn
I tried to do as you adviced but I get the following error on jboss4.2.2-GA [Configuration] Reading mappings from resource : persistence-mapping-file.xml 10:02:10,488 ERROR [AbstractKernelController] Error installing to Start: name=persistence.units:unitName=NewsCrawlerPu state=Create

[jboss-user] [EJB 3.0] - Re: One PersistenceUnit, multiple DataSources

2007-02-21 Thread 7rond
So, I think I figured out a solution that works for me. In my persistence.xml in my original application EAR, I removed the jar-references and instead added this; | mapping-filepersistence-mapping-file.xml/mapping-file | Then, in the persistence.jar within the EAR, I added the