Websphere: Stop Server and Uninstall Application

In WAS, stopping server and uninstalling application are important steps to re-deploy.

SET ProfileLoc=C:IBMWebSphereprofilesMachine1-Node1

SET ServerName=Machine1-Node1Server1

SET AppName=apps

call cmd /C %ProfileLoc%instopServer.bat %ServerName%

call cmd /C %ProfileLoc%inwsadmin.bat -c "AdminApp.uninstall('%AppName%')" -lang jython

原文地址:https://www.cnblogs.com/mthoutai/p/6803810.html