The persistence.xml needs to be in META-INF of a *jar* file that is included in the EAR archive. You cant put the file directly in META-INF of the ear. To achieve what you need, you could tokenize the persistence.xml and feed the token values when you build the persistence.xml that will be a part of a jar that goes into the ear. Just a thought.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964925#3964925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964925 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user