After stopping confluence via
catalina.sh stop Confluence says, in the logs, that it is stopping, as below:
but the java process never terminates.
-force parameter to
This will kill the java process and stop Confluence.
If the above results in an error, such as:
Please add the following line of code to the top of your
<Confluence-Installation-Directory>/bin/setenv.sh file (Standalone instance):
Tomcat will automatically write its process id to
id.pid in your specified path and kill its process with the
For Linux or Mac user:
In addition to the above, you can try a custom script that runs
shutdown.sh first before sleeping 60 seconds. This script then will look inside
./id.pid to check if Tomcat process is still running. Note that this script is provided as is and not supported.
The script needs to be saved in <confluence install>/bin.
Article ID: CONFKB216959212