CPBM 1.4.6 fails to start on Centos 6.3
To get it to work, I applied the following changes based on the same scripts in v1.4.5 and suggested by Shanker in an earlier post. Can you please advise what the actual fix is?
/etc/rc.d/init.d/tomcat6
#Get instance specific config file
if -r "/etc/sysconfig/${NAME}" ; then
. /etc/sysconfig/${NAME}
#export TOMCAT_CFG=/etc/sysconfig/${NAME} # <--- COMMENTED THIS LINE
fi
/usr/sbin/dtomcat6
UNCOMMENTED THE BELOW SECTION:
#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