在分散式環境中解除部署 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_distributed.py(注意 Windows 平台上的正斜線)。 列出您要解除安裝的應用程式,以逗點區隔,不含空格。
    For Unix operating systems
    ./wsadmin.sh -language jython -user WAS_username -password WAS_password -f path to the script/clm_undeploy_distributed.py jts,rm
    For Windows operating system
    wsadmin.bat -language jython -user WAS_username -password WAS_password -f path to the script/clm_undeploy_distributed.py jts,rm

意見