Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1374492

Summary: /usr/sbin/tomcat is incorrect/broken
Product: Red Hat Enterprise Linux 7 Reporter: Coty Sutherland <csutherl>
Component: tomcatAssignee: Coty Sutherland <csutherl>
Status: CLOSED CURRENTRELEASE QA Contact: tomcat-qe
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.3CC: ovasik
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-07 19:07:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1414894    

Description Coty Sutherland 2016-09-08 20:13:48 UTC
Description of problem:
The tomcat script provided with rhel-7 tomcat should be updated to utilize the systemd unit instead of it's own logic to start tomcat (which is broken).

Version-Release number of selected component (if applicable):
tomcat-7.0.69-4.el7.noarch

How reproducible:
Every time.

Steps to Reproduce:
1. yum install tomcat
2. `tomcat start` to observe the failure

Actual results:
# tomcat start
/usr/sbin/tomcat: line 21: .: /etc/sysconfig/: is a directory
/usr/sbin/tomcat: line 39: /logs/catalina.out: No such file or directory
# tomcat version
/usr/sbin/tomcat: line 21: .: /etc/sysconfig/: is a directory
Server version: Apache Tomcat/7.0.69

Expected results:
The service should start correctly/display correct version information without a warning.

Additional info:
The wrapper from upstream can be slightly modified to work well here: http://pkgs.fedoraproject.org/cgit/rpms/tomcat.git/tree/tomcat-8.0.wrapper

Comment 2 Coty Sutherland 2019-11-07 19:07:02 UTC
This was fixed as part of rhbz#1362545 in tomcat-7.0.69-7 which was released on 2016-08-03.