I have come across this a few times and I'm confused why this might be happening. I am running WebLogic v10.3.5.
I generally try to run 2 versions of the application, one Active, the other prepared.
When I deploy a new version I undeploy the old version and redeploy the new version using the retiretimeout option. I then restart the managed server. From time to time this results in the wrong version or even both versions becoming active.
Does anyone have an idea why this might be happening? Should I avoid having 2 versions? Is there a flag set somewhere that identifies which version should be active?
Any help or guidance on this would be greatly appreciated.
I had seen two different bugs similar to same issue.
I pretty much know that this is bug. Bug 8151899 // VERSIONED APPLICATIONS BECOME ACTIVE ON RESTART BUG 8191340 // WLS 10.0 - ADMIN SERVER RESTART WITH SIDE-BY-SIDE DEPLOYMENT RESULTS
Now we can open a ticket with weblogic to get more clarity on this issue.