Well like my reply said, the first thing I determined was that the IP address I was using as my proxy host was incorrect. Once I corrected it at the server level, my application running in Tomcat still couldn't get through. What I ended up doing was modifying the Tomcat catalina.sh script which gets used when Tomcat is started as a service. It's located in the Tomcat bin directory.
The highlighted text is what I added to the existing script.
Code:
if [ "$1" = "start" ]; then
${JAVACMD} $JAVA_OPTS $CATALINA_OPTS \
-Dhttp.proxyHost=192.168.10.11 \
-Dhttp.proxyPort=8080 \
-classpath "$CLASSPATH" \
-Dcatalina.base="$CATALINA_BASE" \
-Dcatalina.home="$CATALINA_HOME" \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
-Djava.io.tmpdir="$CATALINA_TMPDIR" \
-Djava.util.logging.config.file="${CATALINA_BASE}/conf/logging.properties" \
-Djava.util.logging.manager="org.apache.juli.ClassLoaderLogManager" \
org.apache.catalina.startup.Bootstrap start \
>> ${CATALINA_BASE}/logs/catalina.out 2>&1 &
if [ ! -z "$CATALINA_PID" ]; then
echo $! > $CATALINA_PID
fi
I had first attempted to add the proxy settings to the $JAVA_OPTS environment variable since it's used at the beginning of the start command, but for some reason it didn't work. Placing the proxy settings directly in the script is the only way I've managed to get it working.