[jboss-user] [EJB 3.0] - Re: How to ignore persistence unit loading

jaikiran do-not-reply at jboss.com
Mon Jun 22 03:29:36 EDT 2009

Where in the WAR file is this jar containing persistence.xml located? As far as i know, the WEB-INF/lib folder of an WAR is not scanned for deployments. So that should have skipped the persistence unit from deploying. But i will have to look at this once more to see if that's not how its expected to behave. In the meantime, please post the output of 

jar -tf myapp.war

where myapp.war is the name of your war file. Also in the output, please let us know the name of the persistence unit jar which is being picked up.

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

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

More information about the jboss-user mailing list