Bug 636997
Summary: | Additionally Created Instances of Tomcat are broken / don't work | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | John Dennis <jdennis> |
Component: | tomcat6 | Assignee: | David Knox <dknox> |
Status: | CLOSED ERRATA | QA Contact: | qe-baseos-daemons |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 6.0 | CC: | azelinka, ckannan, dknox, dwalluck, jclere, jdennis, orion, pb, syeghiay |
Target Milestone: | rc | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | tomcat6-6_0_24-21_el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 575341 | Environment: | |
Last Closed: | 2011-05-19 10:58:32 UTC | Type: | --- |
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: | 575341 | ||
Bug Blocks: | 676922 |
Description
John Dennis
2010-09-23 22:03:32 UTC
Fixed and ready to commit on RHEL-6 branch. 6.0.24-16 What's the status on this? The fix does not appear to be in RHEL 6 and it's causing the Certificate Server to fail on RHEL 6. I don't think it's the same problem. I checked the source for /usr/sbin/tomcat6: # Get the tomcat config (use this for environment specific settings) #if [ -z "${TOMCAT_CFG}" ]; then # TOMCAT_CFG="/etc/tomcat6/tomcat6.conf" #fi #if [ -r "$TOMCAT_CFG" ]; then # . $TOMCAT_CFG #fi Checking the init script, and these two blocks are not in the right order: # Get instance specific config file if [ -r "/etc/sysconfig/${NAME}" ]; then . /etc/sysconfig/${NAME} fi # Get the tomcat config (use this for environment specific settings) TOMCAT_CFG="/etc/tomcat6/tomcat6.conf" if [ -r "$TOMCAT_CFG" ]; then . $TOMCAT_CFG fi Change it to: # Get the tomcat config (use this for environment specific settings) TOMCAT_CFG="/etc/tomcat6/tomcat6.conf" if [ -r "$TOMCAT_CFG" ]; then . $TOMCAT_CFG fi # Get instance specific config file if [ -r "/etc/sysconfig/${NAME}" ]; then . /etc/sysconfig/${NAME} fi and it should work. RHEL-6 and RHEL-6_0-Z artifacts have been changed to the correct order. tomcat6-6_0_24-20_el6 has been tagged We need 6.0.Z == + to check in tomcat6-6_0_24-21.el6_0 hmm ... the tomcat version on the machine we were having problems with is tomcat6-6.0.24-15.el6.noarch which is a few revisions back from what you reference above. I'm cc'ing Chandrasekar our QE engineer who reported the problem. He would know better than I about the package revisions on his test machine. The version of /usr/sbin/tomcat6 definitely does not have the sourcing of the tomcat config commented out, e.g. #if [ -r "$TOMCAT_CFG" ]; then # . $TOMCAT_CFG #fi but that might be due to the wrong version being installed. And the order of the tomcat config sourcing and instance sourcing in the initscript is correct on his system, once again this might be due to the tomcat version being installed. Chandra: I just checked the RHEL 6.1 Nightlies, the current version of tomcat6 is 6.0.24-20. We should probably upgrade the machine and rerun the tests. *** Bug 678404 has been marked as a duplicate of this bug. *** An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0791.html |