Ales Justin wrote:
You can actually force JBossAS to ignore persistence.xml with jboss-ignore.txt,
so not really neccessary to rename the file.
In fact renaming this file make the EAR/WAR runnable on all JEE servers, not only JBoss. All JEE servers are not as configurable as JBoss is.