• 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

        

      2、删除进程

      kill  -9  4784176

      3、重新启动

       ./startManager.sh

  • 相关阅读:
    Git tag
    Docker学习笔记五 仓库
    Docker学习笔记四 Docker容器
    Docker学习笔记二 使用镜像
    Docker学习笔记一 概念、安装、镜像加速
    element-UI 下拉条数多渲染慢
    scroll-view——小程序横向滚动
    Jquery slider范围滑块,为两个滑块设置不同的setp值
    自说自话2
    自说自话1
  • 原文地址:https://www.cnblogs.com/Nadim/p/4826892.html
Copyright © 2020-2023  润新知