[jboss-user] [JBoss Microcontainer] - Re: JBoss 6.0: ignore persistence.xml in jar file
Ales Justin
do-not-reply at jboss.com
Wed Jun 22 15:56:06 EDT 2011
Ales Justin [http://community.jboss.org/people/alesj] created the discussion
"Re: JBoss 6.0: ignore persistence.xml in jar file"
To view the discussion, visit: http://community.jboss.org/message/611493#611493
--------------------------------------------------------------
Hmm, looking at EARStructure
| | if (archive.getChild("META-INF/persistence.xml").exists()) |
| | { |
| | log.trace(archive.getName() + " in ear lib directory has persistence units"); |
| | if (structureContext.determineChildStructure(archive) == false) |
it means that .ear lib is considered a sub-deployment if it has persistence.xml.
This means you need to add META-INF/jboss-ignore.txt to the actual lib.
Which sort of defeats the purpose of ignore file ...
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/611493#611493]
Start a new discussion in JBoss Microcontainer at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110622/2cf066ad/attachment.html
More information about the jboss-user
mailing list