I am simulating multiple TomEE (1.7.1) instances using virtual-hosts. I have multiple virtual-hosts that are deploying the same war with the same EJBs.
This leads to:
org.apache.openejb.DuplicateDeploymentIdException: Application cannot be deployed as it contains deployment-ids which are in use
Any suggestions on how to solve this?