Troubleshooting
Problem
How to start and stop a Web server using wsadmin in WebSphere Application Server, Network Deployment edition.
Resolving The Problem
- Start wsadmin from WAS_ND_PROFILE/bin directory.
- From wsadmin prompt:
- Query Mbean for Web server:
wsadmin> set ws [$AdminControl queryNames WebSphere:type=WebServer,cell=cell_name,*]
- Start the Web server:
wsadmin> $AdminControl invoke $ws start { cell_name node_name web_server_name }
- Stop the Web server
wsadmin> $AdminControl invoke $ws stop { cell_name node_name web_server_name}
[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Administrative Scripting Tools (for example: wsadmin or ANT)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.5.5;8.5;8.0;7.0;6.1;6.0","Edition":"Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21214747