At this point, we have already stopped FlexDeploy managed server, so we can uninstall old EAR file. From the WebLogic console, select Deployments under the Domain Structure tree on the left. Check the box in front of the FlexDeploy application and click Delete.
If your domain is using Production Mode, perform Lock and Edit and once Delete is completed, Activate Changes.