Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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.

[]s
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic