Websphere  手动模拟删除应用操作

切记:不要在程序还在运行的时候,直接的remove掉应用程序,不然,会发生意外的错误。

      最近,在项目中,不小心手动移除了正在运行的应用,发现server一直会报错,提示是之前移除的应用没法启动.也卸载不了,后来,处理了很久,才找到了如下方法:手动模拟卸载删除应用.

首先我找了一个正常的应用,在控制台,正常执行卸载操作,然后把它卸载删除的应用的日志全部获取下来,发现如下:

cells / CNHQ-12061799Node01Cell / nodes / CNHQ-12061799Node01 / serverindex.xml  已更新
cells / CNHQ-12061799Node01Cell / applications / GBSEnGineV3EAR.ear / deltas / GBSEnGineV3EAR / delta-1345174667471  已删除
cells / CNHQ-12061799Node01Cell / applications / GBSEnGineV3EAR.ear / GBSEnGineV3EAR.ear  已删除
cells / CNHQ-12061799Node01Cell / applications / GBSEnGineV3EAR.ear / deployments / GBSEnGineV3EAR / GBSEngineV3_PRD.war / WEB-INF / server-config.wsdd  已删除
cells / CNHQ-12061799Node01Cell / applications / GBSEnGineV3EAR.ear / deployments / GBSEnGineV3EAR / META-INF / ibm-application-bnd.xmi  已删除
cells / CNHQ-12061799Node01Cell / applications / GBSEnGineV3EAR.ear / deployments / GBSEnGineV3EAR / META-INF / MANIFEST.MF  已删除
cells / CNHQ-12061799Node01Cell / applications / GBSEnGineV3EAR.ear / deployments / GBSEnGineV3EAR / META-INF / application.xml  已删除
cells / CNHQ-12061799Node01Cell / applications / GBSEnGineV3EAR.ear / deployments / GBSEnGineV3EAR / GBSEngineV3_PRD.war / WEB-INF / ibm-web-ext.xmi  已删除
cells / CNHQ-12061799Node01Cell / applications / GBSEnGineV3EAR.ear / deployments / GBSEnGineV3EAR / GBSEngineV3_PRD.war / WEB-INF / ibm-web-bnd.xmi  已删除
cells / CNHQ-12061799Node01Cell / applications / GBSEnGineV3EAR.ear / deployments / GBSEnGineV3EAR / GBSEngineV3_PRD.war / WEB-INF / web.xml  已删除
cells / CNHQ-12061799Node01Cell / applications / GBSEnGineV3EAR.ear / deployments / GBSEnGineV3EAR / GBSEngineV3_PRD.war / META-INF / MANIFEST.MF  已删除
cells / CNHQ-12061799Node01Cell / applications / GBSEnGineV3EAR.ear / deployments / GBSEnGineV3EAR / GBSEngineV3_PRD.war / WEB-INF / xfire-servlet.xml  已删除
cells / CNHQ-12061799Node01Cell / applications / GBSEnGineV3EAR.ear / deployments / GBSEnGineV3EAR / META-INF / ibm-application-runtime.props  已删除
cells / CNHQ-12061799Node01Cell / applications / GBSEnGineV3EAR.ear / deployments / GBSEnGineV3EAR / deployment.xml  已删除
cells / CNHQ-12061799Node01Cell / blas / GBSEnGineV3EAR / bver / BASE / bla.xml  已删除
cells / CNHQ-12061799Node01Cell / cus / GBSEnGineV3EAR / cver / BASE / cu-ref.xml  已删除
cells / CNHQ-12061799Node01Cell / cus / GBSEnGineV3EAR / cver / BASE / controlOpDefs.xml  已删除
cells / CNHQ-12061799Node01Cell / cus / GBSEnGineV3EAR / cver / BASE / cu.xml  已删除  

根据was的卸载的动作,可以清楚的看到卸载应用时候所做的相关的操作,然后手动的模拟删除之前移除的应用,发现,确实有没有删除干净的残余内容.

具体的手动模拟删除步骤总结如下:

1.首先找到自己的安装wid7的如下路径:

  本人的安装路径如下:D:\IBM\WID7_WTE\runtimes\bi_v7\profiles\AppSrv01\config\cells\CNHQ-12061799Node01Cell

2.按照 上面的删除顺序,依次序删除掉应该删除的文件,防止意外,请先保存备份原来的文件,以便于错误时还原。

3.删除完成之后,更新cells / CNHQ-12061799Node01Cell / nodes / CNHQ-12061799Node01 / serverindex.xml , serverindex.xml 一定要先备份.

  将其中的与要删除的应用程序相关的行删除掉。

  serverindex.xml 结构如下:

<?xml version="1.0" encoding="UTF-8"?>
<serverindex:ServerIndex xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:serverindex="http://www.ibm.com/websphere/appserver/schemas/5.0/serverindex.xmi" xmi:id="ServerIndex_1" hostName="CNHQ-12061799T.sn.suning.ad"><serverEntries xmi:id="ServerEntry_1183122129640" serverName="server1" serverType="APPLICATION_SERVER"><deployedApplications>WebSphereWSDM.ear/deployments/WebSphereWSDM</deployedApplications><deployedApplications>isclite.ear/deployments/isclite</deployedApplications><deployedApplications>ibmasyncrsp.ear/deployments/ibmasyncrsp</deployedApplications><deployedApplications>J2EESecureChannel.ear/deployments/J2EESecureChannel</deployedApplications><deployedApplications>IBMUTC.ear/deployments/IBMUTC</deployedApplications><specialEndpoints xmi:id="NamedEndPoint_1183122129640" endPointName="BOOTSTRAP_ADDRESS"><endPoint xmi:id="EndPoint_1183122129640" host="CNHQ-12061799T.sn.suning.ad" port="2810"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129641" endPointName="SOAP_CONNECTOR_ADDRESS"><endPoint xmi:id="EndPoint_1183122129641" host="CNHQ-12061799T.sn.suning.ad" port="8881"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129642" endPointName="ORB_LISTENER_ADDRESS"><endPoint xmi:id="EndPoint_1183122129642" host="CNHQ-12061799T.sn.suning.ad" port="9101"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129643" endPointName="SAS_SSL_SERVERAUTH_LISTENER_ADDRESS"><endPoint xmi:id="EndPoint_1183122129643" host="CNHQ-12061799T.sn.suning.ad" port="9406"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129644" endPointName="CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS"><endPoint xmi:id="EndPoint_1183122129644" host="CNHQ-12061799T.sn.suning.ad" port="9405"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129645" endPointName="CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS"><endPoint xmi:id="EndPoint_1183122129645" host="CNHQ-12061799T.sn.suning.ad" port="9404"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129646" endPointName="WC_adminhost"><endPoint xmi:id="EndPoint_1183122129646" host="*" port="9061"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129647" endPointName="WC_defaulthost"><endPoint xmi:id="EndPoint_1183122129647" host="*" port="9081"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129648" endPointName="DCS_UNICAST_ADDRESS"><endPoint xmi:id="EndPoint_1183122129648" host="*" port="9354"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129649" endPointName="WC_adminhost_secure"><endPoint xmi:id="EndPoint_1183122129649" host="*" port="9044"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129650" endPointName="WC_defaulthost_secure"><endPoint xmi:id="EndPoint_1183122129650" host="*" port="9444"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129651" endPointName="SIP_DEFAULTHOST"><endPoint xmi:id="EndPoint_1183122129651" host="*" port="5063"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129652" endPointName="SIP_DEFAULTHOST_SECURE"><endPoint xmi:id="EndPoint_1183122129652" host="*" port="5062"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129653" endPointName="SIB_ENDPOINT_ADDRESS"><endPoint xmi:id="EndPoint_1423210716263" host="*" port="7277"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129654" endPointName="SIB_ENDPOINT_SECURE_ADDRESS"><endPoint xmi:id="EndPoint_1423210716265" host="*" port="7287"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129655" endPointName="SIB_MQ_ENDPOINT_ADDRESS"><endPoint xmi:id="EndPoint_1423210716267" host="*" port="5559"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129656" endPointName="SIB_MQ_ENDPOINT_SECURE_ADDRESS"><endPoint xmi:id="EndPoint_1423210716269" host="*" port="5579"/></specialEndpoints><specialEndpoints xmi:id="NamedEndPoint_1183122129657" endPointName="IPC_CONNECTOR_ADDRESS"><endPoint xmi:id="EndPoint_1183122129657" host="${LOCALHOST_NAME}" port="9634"/></specialEndpoints></serverEntries>
</serverindex:ServerIndex>

4.完成之后,去控制台卸载掉要卸载的应用程序,重启动server。

转载于:https://www.cnblogs.com/lilin0719/p/5320634.html

Websphere 手动模拟删除应用操作相关推荐

  1. 二叉平衡树之二叉树搜索树【咱们一起手动模拟实现】

    目录 1.什么是二叉搜索树? 2.手动模拟二叉搜索树 2.1.整体代码 2.2.查找数据 2.3.插入数据 2.4.删除数据 3.性能分析 1.什么是二叉搜索树? 二叉搜索树也叫作二叉排序树,可以使一 ...

  2. 2022升降机司机考试试题模拟考试平台操作

    题库来源:安全生产模拟考试一点通公众号小程序 2022年升降机司机复习题系升降机司机复审题库新版习题库!2022升降机司机考试试题模拟考试平台操作依据升降机司机新版考试题库.升降机司机考试真题通过安全 ...

  3. 2022车工(技师)考试题库模拟考试平台操作

    题库来源:安全生产模拟考试一点通公众号小程序 2022年车工(高级)练习题系车工(题库来源:安全生产模拟考试一点通公众号小程序 2022年车工(技师)考试试题为车工(技师)操作证考试题理论知识考试题库 ...

  4. 源端RAC数据库删除实例操作时GoldenGate的运维流程

    文章背景 周六下午突然接到一个颇为头疼的任务--尽快为某客户提供一个 GoldenGate 操作方案,大体背景如下: 客户的生产环境是 Oracle 11GR2 的三节点的 RAC ,上面部署了两套  ...

  5. React 16 Jest手动模拟(Manual Mocks)

    2019独角兽企业重金招聘Python工程师标准>>> 转载地址 React 16 Jest手动模拟(Manual Mocks) 项目初始化 git clone https://gi ...

  6. 2022年制冷与空调设备运行操作考试题库模拟考试平台操作

    题库来源:安全生产模拟考试一点通公众号小程序 2022年制冷与空调设备运行操作判断题为制冷与空调设备运行操作练习题模拟预测卷!2022年制冷与空调设备运行操作考试题库模拟考试平台操作依据制冷与空调设备 ...

  7. 2022年汽车驾驶员(技师)考题模拟考试平台操作

    题库来源:安全生产模拟考试一点通公众号小程序 2022汽车驾驶员(技师)复习题为汽车驾驶员(技师)模拟考试题库理论知识考试题库!2022年汽车驾驶员(技师)考题模拟考试平台操作根据汽车驾驶员(技师)考 ...

  8. 2022低压电工培训试题模拟考试平台操作

    题库来源:安全生产模拟考试一点通公众号小程序 2022低压电工题库是低压电工练习题的多种练习模式!2022低压电工培训试题模拟考试平台操作根据低压电工最新教材汇编.低压电工考试题目随时根据安全生产模拟 ...

  9. 2022年资料员-岗位技能(资料员)操作证考试题模拟考试平台操作

    题库来源:安全生产模拟考试一点通公众号小程序 2022胺基化工艺操作考试题系胺基化工艺练习题考前押题!2022胺基化工艺题库及在线模拟考试依据胺基化题库来源:安全生产模拟考试一点通公众号小程序 202 ...

最新文章

  1. 《你的灯亮着吗》读书笔记3
  2. 2011年7个最佳的Linux发行版
  3. Jmeter输出完美报告
  4. openstreetmap_OpenStreetMap参加奥运会,SourceForge改造等
  5. MGRE、OSPF综合实验
  6. iOS开发中的错误整理,再一次整理通过通知中心来处理键盘,一定记得最后关闭通知中心...
  7. python通讯录运用的知识点_Python实现通讯录功能
  8. Atitti css transition Animation differ区别
  9. hibernate中实体类对象的四种状态
  10. opnet安装的问题
  11. CPU0704报错处理
  12. mysql的全量备份和增量备份
  13. django接入facebook登陆设置
  14. 可汗学院公开课——统计学学习:62-81
  15. python爬虫登录下载_Python爬虫实战入门四:使用Cookie模拟登录——获取电子书下载链接...
  16. nginx1.18.0 安装vts
  17. 我讨厌你公事公办的样子
  18. 使用whistle进行API代理
  19. PTA 4 sdut-oop-5 计算长方体和四棱锥的表面积和体积(类的继承)分数 20
  20. 自己花了两个小时研究出来的 3D游戏怪物受到伤害,显示伤害的数字

热门文章

  1. 解决Error: ENOENT: no such file or directory, scandir ‘xxx\node-sass\vendor‘
  2. elementUI使用之table表格如何给行元素添加点击事件
  3. Spring Boot 配置文件之前缀属性注入
  4. redis中的key设置了过期时间了还会在持久化到文件中吗
  5. 前端面试之webpack面试常见问题
  6. Xcode9 2 编译在iOS8 1 系统上图片显示异常
  7. 三元组相加获得target
  8. TabHost和ActivityGroup用法
  9. dell 2950 raid阵列冷迁移方法
  10. 自建服务器调试,Mac简单实现服务器搭建(本地)与iOS调试