-
1. Re: Excluding persistance.xml from deployment
jaikiran Apr 28, 2010 4:33 AM (in response to pillingworth)Where exactly (in the war) are those jar files containing the persistence.xml?
-
2. Re: Excluding persistance.xml from deployment
pillingworth Apr 28, 2010 4:42 AM (in response to jaikiran)There are two and they're in
roller.war/WEB-INF/lib/roller-business.jar
roller.war/WEB-INF/lib/roller-planet-business.jar
- Paul I
-
3. Re: Excluding persistance.xml from deployment
jaikiran Apr 28, 2010 5:06 AM (in response to pillingworth)I don't think it's currently possible to ignore such jars. I haven't tried the jboss-ignore.txt thing, so not sure whether it even works.
-
4. Re: Excluding persistance.xml from deployment
javatwo May 23, 2010 8:40 AM (in response to jaikiran)We am facing the same issue. we have a war to deploy and handle persistence.xml when it is needed at runtime. JBoss is complaining about it.
-
5. Re: Excluding persistance.xml from deployment
javatwo May 26, 2010 3:25 AM (in response to javatwo)where to put jboss-ignore.txt in the war file and ear?I like to try it.
-
6. Re: Excluding persistance.xml from deployment
pillingworth May 26, 2010 4:26 AM (in response to javatwo)I tried putting it in the war file in the WEB-INF folder.
I can't remember but I probably also tried putting it in the war file root directory and in the war file war file/WEB-INF/classes directory.
It didn't work for me and I have a feeling it is not supported or implemeneted but I'd be interested in how you get on.