Deploying multiple process applications with different process archive name, shared database and default process engine shared between the applications

Use case:
We have two applications with same bpmn files, different process archive names in respective processes.xml file and are deploying the same in Tomcat server with default process engine and shared database.

Though, when the process archive name is changed again to let’s suppose App3, it starts working again but on restart the same error is received.

Could you please share some insight as to how can I safely redeploy multiple applications?