Resolves: rhbz#66969 - tomcat-jdbc missing. Resolves problem running multiple instances of tomcat services. References to hardcoded directory locations in tomcat6-6.0.init have been changed to .
This commit is contained in:
parent
7f5f5fa0dd
commit
6b3301f8ed
@ -43,17 +43,17 @@ else
|
||||
SU="/bin/su -s /bin/sh"
|
||||
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
|
||||
|
||||
# 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="${CATALINA_HOME}/conf/tomcat6.conf"
|
||||
if [ -r "$TOMCAT_CFG" ]; then
|
||||
. $TOMCAT_CFG
|
||||
fi
|
||||
|
||||
# Define which connector port to use
|
||||
CONNECTOR_PORT="${CONNECTOR_PORT:-8080}"
|
||||
|
||||
@ -67,7 +67,7 @@ TOMCAT_PROG="${NAME}"
|
||||
TOMCAT_USER="${TOMCAT_USER:-tomcat}"
|
||||
|
||||
# Define the tomcat log file
|
||||
TOMCAT_LOG="${TOMCAT_LOG:-/var/log/tomcat6/catalina.out}"
|
||||
TOMCAT_LOG="${TOMCAT_LOG:-${CATALINA_HOME}/logs/catalina.out}"
|
||||
|
||||
RETVAL="0"
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
||||
Name: tomcat6
|
||||
Epoch: 0
|
||||
Version: %{major_version}.%{minor_version}.%{micro_version}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Apache Servlet/JSP Engine, RI for Servlet %{servletspec}/JSP %{jspspec} API
|
||||
|
||||
Group: Networking/Daemons
|
||||
@ -560,6 +560,12 @@ fi
|
||||
%{appdir}/sample
|
||||
|
||||
%changelog
|
||||
* Mon Jan 17 2011 David Knox <dknox@redhat.com> 0:6.0.29-2
|
||||
- Resolves: rhbz# 669969 - tomcat-jdbc missing
|
||||
- Resolves problem with multiple instances of tomcat services. References to
|
||||
- hardcoded directory locations have been changed to ${CATALINA_HOME]
|
||||
- to avoid confusion
|
||||
|
||||
* Mon Jan 3 2011 Alexander Kurtakov <akurtako@redhat.com> 0:6.0.29-1
|
||||
- Update to new upstream.
|
||||
- Simplify buildroot.
|
||||
|
Loading…
Reference in New Issue
Block a user