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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...