Stopping the Liberty server

If the Liberty server is programmatically stopped by the application, such as with a System.exit() call, the server is automatically restarted by a cloud platform.

Use the cf command-line tool to stop an application in a Cloud Foundry platform. In Liberty for Java on IBM Cloud, you can also stop an application using the dashboard.

This rule flags Java code that has references to the following methods: