Description of problem: It looks like as a result of JBEWS-178, some bad comments were added to EWS 2.0.1/tomcat 7's catalina.sh: +#JBPAPP-3749/6036/9724 +# Cannot resolve user database reference +# the real problem is a cnfe that is avoided by configuring +# the -Djavax.sql.DataSource.Factory. This fixes the rpm install. +# The zip install is fixed in catalina.sh +# JAVA_OPTS="${JAVA_OPTS} -Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory" + Tomcat starts regardless, but we get unneeded complaints commands not found: $ ./catalina.sh start ./catalina.sh: line 267: +#JBPAPP-3749/6036/9724: No such file or directory ./catalina.sh: line 268: +#: command not found ./catalina.sh: line 269: +#: command not found ./catalina.sh: line 270: +#: command not found ./catalina.sh: line 271: +#: command not found ./catalina.sh: line 272: +#: command not found ./catalina.sh: line 273: +: command not found Just need to drop the +s from those comment lines Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Run ./catalina.sh start 2. 3. Actual results: "command not found" complaints Expected results: No such complaints Additional info:
Created attachment 776990 [details] Patch that fixes typos in tomcat7.conf The problem affects tomcat7 only.
There is still + in catalina.sh (line nr# 271): rhel5-i386, rhle5-x86_64 zips - tomcat7/catalina.sh
please fix it in ER4, if its possible
regression in 7.0.40-11_patch_03
VERIFIED on ER4
Added Doc Text