Some times deployments fail because developers provide the wrong plan.xml files,

 

i.e.

plan.xml not having the correct <module-name> or  any other parameters so to cross check what the actual plan would look like, you could generate the plan.xml yourself,

First set weblogic environment,

Next execute this. This will create a plan.xml file in the current directory.

 <java_home>/bin/java  weblogic.PlanGenerator application.war -debug