cfgaction -updatecsear (deploy an extension ear to v7

Hi,  I'm trying to get info on writting an ant script to do deploy/redeploy an .ear.  I used the cfgaction -updatecsear command successfully for .war & .jar but get exception when trying to deploy and .ear.  Exception is:

[echo] weblogic.management.ApplicationException:

[echo] Exception:weblogic.management.ApplicationException: prepare failed for trowe-vcm-extension

[echo] Module: trowe-vcm-extension Error: Context path 'trowe-vcm-extension' is already in use by the module: trowe-vcm-ex

tension application: VCM_RetailExtensionsEA

 

Is there any documentation that better explains the cfgaction?

Examples with cfgaction & -updatecsear?