The difference between the new start-confluence, stop-confluence Scripts and the old startup, shutdown Scripts
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
The difference between the new start and stop script versus the old startup and shutdown is that the new script kills the Tomcat process if it does not shut down cleanly within 20 seconds.
Solution
How It Works
When Confluence is started using start-confluence.sh/start-confluence.bat
script it records the process id (pid
) of the launched Confluence process in a file. When shutting down Confluence using stop-confluence.sh/stop-confluence.bat
script it first asks the process to shut down and waits for it to do so. If the process doesn't shut down cleanly within 20 seconds it uses the recorded pid
to kill the process.
Was this helpful?