Added changes to POM.xml for Jboss 7. Also more changes to persistance manager