websphere删除应用

Websphere删除某个应用起动时提示找不到配置的解决方法,将WebSphere\AppServerCommunityEdition\var\config\config.xml里相应的模块删掉后重启动就可以了,如下面的代码部分:

<module name="default/javacms/1.0/car"/>
<module name="default/j2eecm/1.0/car"/

手工删除Websphere下的应用
先删除部署目录的应用(installedApps):
/opt/WebSphere/AppServer/profiles/AppSrv01/installedApps/app1Cell01 下的文件

删除临时目录下文件
/opt/WebSphere/AppServer/profiles/AppSrv01/temp
/opt/WebSphere/AppServer/profiles/AppSrv01/tranlog
/opt/WebSphere/AppServer/profiles/AppSrv01/wstemp

config/cell/<cellname>/applications,Dmgr和Node下都要检查如:
C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\Cell01\applications
C:\Program Files\IBM\WebSphere\AppServer\profiles\Dmgr01\config\cells\Cell01\applications

再清除下面目录的内容,目录保留
/opt/WebSphere/AppServer/profiles/Dmgr01/config/temp
/opt/WebSphere/AppServer/profiles/Dmgr01/temp
/opt/WebSphere/AppServer/profiles/Dmgr01/wstemp
/opt/WebSphere/AppServer/profiles/Dmgr01/ tranlog

serverindex.xml 同样要检查Dmgr和Node在Dmgr下
C:\ProgramFiles\IBM\WebSphere\AppServer\profiles\Dmgr01\config\cells\Cell01\nodes\CellManager01
C:\Program Files\IBM\WebSphere\AppServer\profiles\Dmgr01\config\cells\Cell01\nodes\Node01
deployedApplications
在Node下
C:\ProgramFiles\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\Cell01\nodes\CellManager01
C:\ProgramFiles\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\Cell01\nodes\Node01
搜索<deployedApplications>,找到之前的应用设置,然后清除

猜你喜欢

转载自lin301021.iteye.com/blog/1166142