Hello, I'm developing a multi-module JEE 6 web-application. I'm using the JEE Webprofil so the application is packaged in a single war file. One of my goal is to develop this application for Jboss, Glassfish and TomEE as supported application servers.
It looks like this: I understand, that I have to tell the JPA that some of my entities are inside the jars and not directly under WEB-INF/classes. So I modified my persistence.xml to use the <jar-file> tag. I have many Entites so I do not want to add each single one of them with the <class> tag. This works fine on Jboss and Glassfish. But TomEE cannot find the jars because it is looking for them in the folder "WEB-INF/class/lib". This folder does not exist. So I changed the persistence.xml Now the Application works on TomEE but not on Glassfish or JBoss. Is there any way around that issue? -- View this message in context: http://openejb.979440.n4.nabble.com/Problem-with-Entities-in-jars-tp4663695.html Sent from the OpenEJB User mailing list archive at Nabble.com.
