Yes. This happens specifically to scripts. If you remove the common bpmn file. ie sendMail.bpmn file from
one of the War file , the issue wont occur. So what I understand is the existence of a common bpmn file. having same content. I understand once war file is deployed , script context is lost for the other application.