Linux環境下Websphere重啟

來源:互聯網
上載者:User

標籤:

一、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

Linux環境下Websphere重啟

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.