My guess is more that when you did ant deploy the META-INF/persistence.xml showed up in the right place. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217222#4217222 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217222