linux重启websphere服务,Linux环境下Websphere重启

一、Websphere控制台重启

1、更新class文件发布,Websphere自动重启。

2、更新web.xml发布,需要手动更新web.xml或者更新项目。

web.config 缓存位置: WebSphere/AppServer/profiles/AppSrvDC/config/cells/dcapp02Cell01/applications/项目/deployments/项目/项目/WEB-INF

3、通过添加多个应用程序服务器,让项目置于不同的服务器。

二、命今重启

1、重启应用程序服务器

cd /usr/IBM/WebSphere/AppServer/profiles/AppSrvDC/bin/

停止:     ./stopServer.sh 应用程序服务器名称 -username 用户名 -password 密码

启动:     ./startServer.sh server1

2、重启nodeagent

cd /usr/IBM/WebSphere/AppServer/profiles/AppSrvDC/bin/

停止:     ./stopNode.sh -username 用户名 -password 密码

启动:    ./startNode.sh

3、重启整个Websphere

cd  /usr/IBM/WebSphere/AppServer/profiles/Dmgr01/bin

停止:     ./stopManager.sh -username 用户名 -password 密码

启动:     ./startManager.sh

三、杀进程

./stopServcer.sh server1如果停不掉websphere服务。则强制杀掉其进程!

1、查看websphere进程号

ps -ef|grep websphere

20180110164410249240.png

2、删除进程

kill  -9  4784176

3、重新启动

./startManager.sh

原文:http://www.cnblogs.com/Nadim/p/4826892.html

  • 0
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值