How to Start and Stop the application server through command line.

Here we will see how to stop and start the application server.

There is multiple ways to do this activity but I going to show you in two way.

First Method :-  In this way we will execute the command from the Appserver bin directory.
                     
Start Server 

D:\IBM\WebSphere\AppServer\bin>startServer.bat -profileName AppSrv01 server1
ADMU0116I: Tool information is being logged in file
           D:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\startServer
.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 2992

Stop Server 


D:\IBM\WebSphere\AppServer\bin>stopServer.bat -profileName AppSrv01 server1
ADMU0116I: Tool information is being logged in file
           D:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\stopServer.
log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3201I: Server stop request issued. Waiting for stop status.

ADMU4000I: Server server1 stop completed.



Second Method :-  In this method we will execute the command from the profile bin directory.

Start Server 

D:\IBM\WebSphere\AppServer\profiles\AppSrv01\bin>startServer.bat  server1
ADMU0116I: Tool information is being logged in file
           D:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\startServer
.log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3000I: Server server1 open for e-business; process id is 120

Stop Server 


D:\IBM\WebSphere\AppServer\profiles\AppSrv01\bin>stopServer.bat  server1
ADMU0116I: Tool information is being logged in file
           D:\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\server1\stopServer.
log
ADMU0128I: Starting tool with the AppSrv01 profile
ADMU3100I: Reading configuration for server: server1
ADMU3201I: Server stop request issued. Waiting for stop status.

ADMU4000I: Server server1 stop completed.

Comments

Popular posts from this blog

ERROR: Port values must be a positive integer between 0 and 65535. while install IBM Http Server 8.5.5

How to remove the node from the deployment manager profile

What is clean start in websphere application server