Bug 1374492 - /usr/sbin/tomcat is incorrect/broken
Summary: /usr/sbin/tomcat is incorrect/broken
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tomcat
Version: 7.3
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Coty Sutherland
QA Contact: tomcat-qe
URL:
Whiteboard:
Depends On:
Blocks: 1414894
TreeView+ depends on / blocked
 
Reported: 2016-09-08 20:13 UTC by Coty Sutherland
Modified: 2019-11-07 19:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-07 19:07:02 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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