JBoss Community

Re: JBOSS 5.1: ignore persistence.xml in jar file

created by Ales Justin in JBoss Microcontainer - View the full discussion

Make sure the right "ignore" deployer is present.

How can I do this?

An AbstractIgnoreDeployer should be present in deployers.xml.

 

I added jboss-ignore.txt to core.jar/META-INF/ with following content:

core.jar/META-INF/persistence.xml

 

Nothing changed.

It should be w/o core.jar/, since it's relative to that (sub)deployment.

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community