Bug 591003
Summary: | Errors in resource script tomcat-5.sh, part of rgmanager | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Rafael <rmicmirregs> | ||||
Component: | rgmanager | Assignee: | Marek Grac <mgrac> | ||||
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.5 | CC: | cluster-maint, djansa, edamato, tdunnon | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | rgmanager-2.0.52-6.18.el5 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 593721 637802 (view as bug list) | Environment: | |||||
Last Closed: | 2011-01-13 23:26:11 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: | |||||||
Bug Blocks: | 593721, 614127, 614130, 637802 | ||||||
Attachments: |
|
Description
Rafael
2010-05-11 07:37:02 UTC
Created attachment 413058 [details]
Cluster.conf, tomcat5.conf, server.xml
@Rafael: Thanks for really complex report. Few comments after first tests: ad 3) if I will use sha1_addToXML & sha1_verify -> in current situation there is no chance that they will match (there are additional lines with <!-- & --> ad 4) I'm not sure if I correctly understand: sha1_verify "$generated_file" if [ $? -ne 0 ]; then clog_check_sha1 $CLOG_FAILED else return 0 fi what was the reason to change? In original if sha1 won't match (result 1) then configuration file was changed and we should not touch it. If it match original then we wish to create a new configuration file which will include changes from original config file. 2) Even though there is no error initially and the service appears to be started, tomcat never actually starts. Catalina.out will show the following error: su: invalid option -- D Try `su --help' for more information. The solution posted by OP is correct. Su expects the following as one argument: "$JAVA_HOME/bin/java $JAVA_OPTS $OCF_RESKEY_catalina_options \ -Djava.endorsed.dirs=$JAVA_ENDORSED_DIRS -classpath $CLASSPATH \ -Dcatalina.base=$TOMCAT_gen_catalina_base \ -Dcatalina.home=$CATALINA_HOME \ -Djava.io.tmpdir=$CATALINA_TMPDIR \ org.apache.catalina.startup.Bootstrap $@ start" @Sean: sure I did not have any problems with points that were not mentioned Problem 2) will be fixed; rest is cloned for next update Fixed in upstream at: http://git.fedorahosted.org/git/?p=cluster.git;a=commit;h=5492f5160f1cef50ac5fc38cf184974e587bbfb3 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/RHBA-2011-0134.html |