Deployment succeeds after setting persistence.xml property.