Code: Select all
app.ear
war2.war
WEB-INF/lib/warEntities.jar
WEB-INF/classes/META-INF/persistence.xml
If root of PU is indeed WEB-INF/classes/ then should not persistence.xml contain :
<jar-file>../lib/warEntities.jar</jar-file>