Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1601028 - tomcat does not gracefully shutdown
Summary: tomcat does not gracefully shutdown
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tomcat
Version: 7.5
Hardware: Unspecified
OS: Linux
Target Milestone: rc
: ---
Assignee: Coty Sutherland
QA Contact: tomcat-qe
Depends On:
TreeView+ depends on / blocked
Reported: 2018-07-13 15:41 UTC by svenvd
Modified: 2019-03-05 15:32 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-03-05 15:32:37 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description svenvd 2018-07-13 15:41:55 UTC
Description of problem:


How reproducible:

 systemctl cat tomcat

Actual results:

# /usr/lib/systemd/system/tomcat.service
# Systemd unit file for default tomcat
# To create clones of this service:
# DO NOTHING, use tomcat@.service instead.

Description=Apache Tomcat Web Application Container

ExecStart=/usr/libexec/tomcat/server start


Expected results:

"ExecStop=/usr/libexec/tomcat/server" stop should be added to /usr/lib/systemd/system/tomcat.service

Additional info:

in the past /usr/lib/systemd/system/tomcat.service did contain an ExecStop.
See commit!tomcat.git/04fb1798cde50d636b2f1d70738b16dfae561fdd
On top of that tomcat@.service also still contains an ExecStop

Request: Why this was removed?

Comment 2 svenvd 2018-07-13 15:56:22 UTC
Expected results:

"ExecStop=/usr/libexec/tomcat/server stop" should be added to /usr/lib/systemd/system/tomcat.service

Comment 3 Coty Sutherland 2019-03-05 15:32:33 UTC
The BZ information is incomplete and does not state a problem; it asks a question about why ExecStop was removed from the systemd service unit. Bugzilla is not a support forum.

With that said, please see for details on why ExecStop was removed (tomcat could not gracefully exit with it in place).

Comment 4 RHEL Product and Program Management 2019-03-05 15:32:37 UTC
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.

Note You need to log in before you can comment on or make changes to this bug.