您的位置:首页 > 其它

服务器自动宕机后,自动更新了web.xml配置文件

2016-06-03 17:26 465 查看
websphere服务器自动宕机后,应用自动更新了web.xml配置文件为老的配置文件。

原因:websphere里创建了受管节点appsrv和管理节点dmgr.。第一次发布,发布到了管理节点,后来发布程序未进行自动更新。项目宕机后,自动同步了管理节点里的老的web.xml的配置文件到appsrv里,导致项目定时任务无法运行,无法正常发送短信。

目录结构:

/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/p570appCell01/applications/项目名称/deployments/项目名称的WEB-INF

/usr/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/p570appCell01/applications/项目名称/deployments/项目名称/WEB-INF

/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/p570appCell01/项目名称WEB-INF/web.xml .

dmgr管理节点,若没有不启动,则无法访问console

启动was

export LANG=zh_CN

1:/app/wasapp/profiles/manager/bin  startManager.sh

2:/app/wasapp/profiles/server1/bin  startNode.sh

     startServer.sh

3:/usr/IBM/HTTPServer/bin./adminctl start
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: