A Java application has crashed and needs to be restarted. In order to be able to execute the application again, the not responsive process first needs to be stopped. The application is installed on a remote server, so the operations need to be performed via remote shell.