mainly I have modified the persistence.xml in order to support the resource_local