How to start or stop WebSphere Liberty JVM

Home > Search > How-to

Start Liberty server. If you do not specify the server name, the default Liberty server will be started. The name of the default Liberty server is, most appropriately, defaultServer.

~]# ${liberty_install_root}/bin/server start server_name


The ps command can be used to ensure the server is running. In this example, the server is using PID 12345.

~]# ps -ef | grep -i WebSphere
root  12345  1  0  Dec13  ?  00:45:50  /opt/IBM/WebSphere/Liberty/. . .


Stop Liberty server.

~]# ${liberty_install_root}/bin/server stop server_name


The ps command can be used to ensure there are no WebSphere processes actively running. In this example, the ps command only returns one line, which is not the WebSphere application server, and instead just the ps command itself.

~]# ps -ef | grep -i WebSphere
root  12345  1234  0  18:51  pts/2  00:00:00  grep --color=auto WebSphere


A crontab job can be created to ensure the deployment manager is started when the system is rebooted.

@reboot bash ${liberty_install_root}/bin/server start server_name


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter in the box below so that we can be sure you are a human.