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]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
