I am using a clean script to clear components from autodeploy in weblogic.This script remove all war files and restarts the weblogic domain {this script just do rm -rf * autodeploy and then restart domain using other script start and stop weblogic scripts}.This script works well, But sometimes,i got problems removing deployments.It removes all components from autodeploy folder but still config.xml have "app-tag" for all components.I dont know why this is happening .but then i have to remove these app-tag from config.xml manually. This clean script gets in loop saying "componets getting removed"".then i have to do manual work of removing app-tags from config.xml To avoid this manual work : I need your help here,Is there possible way that using SHELL Script we can remove these tags from xml ?? I would like to call this script from within my clean script. Please guide me .
P.S : Can't post my clean script right now,But will do if needed later.Altough its just a small script which uses rm-rf and start,stop scripts