Unable to un-deploy the library in WebLogic server

Home/WebLogic/Unable to un-deploy the library in WebLogic server

Unable to un-deploy library in WebLogic server 

Today I tried to un-deploy a library in WebLogic server and it throws the following error. 

weblogic.management.ManagementException: [Deployer:149001] [Version=1.0]” <YOUR LIBRARY NAME>  exists for operation “undeploy”

I tried many possible ways to un-deploy the library like restart the servers, reboot the machine but nothing helpful. 

Fix: 

Finally I Undeployed it using the following approach 

  1. Stop all the servers, Admin & Managed servers
  2. Go to the <MW_HOME>\user_projects\domains\<DOMAIN_NAME>\config
  3. Open the file config.xml (Back up the file)
  4. Find your library by name , For example: MyCustomLib.jar
  5. Delete the library element in the file.  From <library> to </library>
  6. Delete the jar file as mentioned in the <Source-Path>
  7. Restart the Admin and other servers 

 

govindan Unable to un-deploy the library in WebLogic server
Connect me

Govind

Thank you for visiting my personal blog. Myself Govindan, Software Developer by profession since 2006 and hence I started this blog early in 2016 and ever since I've been writing about technologies experienced and learnings of everyday life.

The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.

Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply 🙂
govindan Unable to un-deploy the library in WebLogic server
Connect me
Like us on Facebook.
Connect!