jQuery in Action, 2nd edition*
The moose likes BEA/Weblogic and the fly likes Can't figure out why I can't undeploy an application using WLST  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Can Watch "Can New topic

Can't figure out why I can't undeploy an application using WLST

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436

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

undeploy("RoutingEngine (v1.0)")

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
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977

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.

I agree. Here's the link: http://aspose.com/file-tools
subject: Can't figure out why I can't undeploy an application using WLST
Similar Threads
What does this error mean -- targets are unreachable?
Ant Undeploy Problem
Trouble running a WLST snippet
Using WLST, How can I find the status of my application running managed server?
UnDeploy task is not working properly