Are you looking to replace the current JPA subsystem, with your own? If yes, you could try commenting out the jpa subsystem in as7/standalone/configuration/standalone.xml.
<!--subsystem xmlns="urn:jboss:domain:jpa:1.0">
<jpa default-datasource=""/>
</subsystem-->