在分布式环境中取消部署 Web 应用程序

此 Jython 脚本会取消部署您在用逗号分隔的列表中指定的那些已安装的 CLM 应用程序。此脚本假定应用程序的扩展名为 .war。

过程

  1. 要卸载特定 CLM 应用程序,打开命令窗口,并将目录切换至 WASInstallDir/AppServer/bin。
  2. 在将 WAS_username 替换为 WebSphere Application Server admin 用户名、将 WAS_password 替换为 admin 用户密码并将 path to the 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

反馈