使用WebSphere 脚本工具 卸载应用

来源:互联网 发布:2016外贸出口数据 编辑:程序博客网 时间:2024/06/05 01:52

 如果WebSphere因为某个应用的缘故无法启动,可能需要卸载此应用,websphere才能重新启动。

但在此情况下我们已无法通过web的方式访问websphere管理控制台,以卸载应用。

唯一的办法是通过webshpere提供的脚本工具来卸载应用。

cd C:/WebSphere/AppServer/bin

wsadmin -conntype none            注:在websphere 无法启动的情况下可以以本地方式连接到管理控制台

$AdminApp list                        //显示所安装的应用

$AdminApp uninstall    应用名称           

$AdminConfig save                                  //  

http://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/rxml_commandline.html