core icon indicating copy to clipboard operation
core copied to clipboard

Shutdown script requires -force to kill the dotCMS process

Open vianneychacon opened this issue 9 years ago • 1 comments

dotCMS requires the use of ``-force when calling the shutdown script. Graceful shutdown is not possible, even passing down a long timeout argument to the shutdown script.

Expected Behavior

The process should stop gracefully when the shutdown script is called

Current Behavior

The shutdown script should be called two times or with -force\, the process is abruptly killed

Known Workarounds

Use `-force` switch when calling tomcat's shutdown script

Steps to Reproduce (for bugs)

This is reproducible using the exploded WAR on Tomcat and the default startup/shutdown scripts. It's also reproducible on the distro using embedded tomcat:

  1. Change the shutdown.sh script and remove the `-force` flag on the command execution
  2. Startup dotCMS
  3. Attempt to shutdown dotCMS

Context

This is mostly not observed on the distro because the default script uses the `-force`, but it becomes more obvious when deploying dotCMS as a WAR.

Your Environment

  • dotCMS version used: 4.0.1/4.1.0
  • Operating System and version: Linux
  • Application Server and version: Tomcat (distro, 8.5.15)
  • Java Brand and version: openjdk version "1.8.0_121"

vianneychacon avatar May 26 '17 09:05 vianneychacon

This issue has been automatically marked as stale because it has not had activity within the past 90 days. It will be closed in 30 days no further activity occurs. Thank you.

stale[bot] avatar Sep 28 '19 15:09 stale[bot]