I've installed Apache Tomcat and want to use a proxy for my webapps. Some apps request data from the internet, they don't have an own/internal possibility to use a proxy.
I added the following lines at the beginning of my
CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyHost=foo.bar" CATALINA_OPTS="$CATALINA_OPTS -Dhttp.proxyPort=3128"
But these settings don't seem to work.
Server version: Apache Tomcat/7.0.34
JVM Version: 1.6.0_24-b24