This is a case where :
1. I create a embedded glassfish instance, start it, deploy a ejb app, and stop/dispose the instance. Note that the application is not undeployed prior to the stop (the case is slightly different from
2. I create a second embedded glassfish instance, start it, deploy the same app as in (1), stop/dispose the instance.
But the deployment of ejb app to the second instance fails with
Steps to reproduce:
I happen to exercise this case because of the workaround mentioned in GLASSFISH-16916 by Harshad. Unfortunately the workaround does not work because of this issue.