-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Tomcat
-
None
-
0
-
1
Issue Summary
This is reproducible on Data Center: yes
Make the hardcoded Jira shutdown timeout configurable.
Workaround
The Tomcat shutdown timeout can be manually changed by updating the stop-jira.sh script located in "<installation-directory>\bin\". Change the lines which contain 60 (or 20 from 10.1 and below) to the timeout (in seconds) that you need. For example, to change the timeout from 60s to 120s update it as below:
.....
exec $PRGDIR/shutdown.sh 60 -force $@
.....
$sucmd -m $JIRA_USER -c "$PRGDIR/shutdown.sh 60 -force $@"
.....
becomes
.....
exec $PRGDIR/shutdown.sh 120 -force $@
.....
$sucmd -m $JIRA_USER -c "$PRGDIR/shutdown.sh 120 -force $@"
.....
- derived from
-
JRASERVER-70785 Increase the Tomcat shutdown time from 20 sec to higher number.
- Closed