Can't figure out why I can't undeploy an application using WLST
Joined: Jul 02, 2008
I have WebLogic 9.2.2 installed locally on my WinXP machine. I am running a WLST script (through Ant 1.6) to attempt to undeploy my application. This line
is causing this error,
wlst Undeploying application RoutingEngine (v1.0) ...
wlst <Mar 4, 2009 1:04:40 PM MST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating undeploy operation for application, RoutingEngine (v1.0) archive: null, to AdminServer .>
wlst Failed to undeploy the application with status failed
wlst Current Status of your Deployment:
wlst Deployment command type: undeploy
wlst Deployment State : failed
wlst Deployment Message : weblogic.management.ManagementException: Deployer:149001No application named 'RoutingEngine (v1.0)' exists for operation undeploy
If I log in to my WebLogic admin console under "Deployments", there is an application named "RoutingEngine (v1.0)" listed. Should I be naming this something else or referencing it under another name?
Thanks, - Dave
Joined: Jan 06, 2001
The (v1.0) is version number, try using the package name as RoutingEngine and version 1.0. This should work. If you need further instructions please post the fragment of the script you're using to better understanding about what's wrong.