解除部署 Web 應用程式

這個 Jython Script 可以解除部署 CLM 已安裝的所有應用程式。這個 Script 假設應用程式有 .war 副檔名。

程序

  1. 如果要在單一應用程式伺服器上將 CLM 應用程式解除安裝,請開啟指令視窗,並切換至 WASInstallDir/AppServer/bin 目錄。
  2. 執行下列指令,將 WAS_username 替換成 WebSphere Application Server admin 使用者名稱,將 WAS_password 替換成 admin 使用者密碼,以及將 path to the script 替換成 Script 的位置,例如 C:/JazzTeamServer/server/was/clm_undeploy.py(注意 Windows 平台上的正斜線)。
    For Unix operating systems
    ./wsadmin.sh -language jython -user WAS_username -password WAS_password -f path to the script/clm_undeploy.py 
    For Windows operating system
    wsadmin.bat -language jython -user WAS_username -password WAS_password -f path to the script/clm_undeploy.py 

意見