title: Tomcat and proxy settings
body: <p>There is a servlet running on tomcat7 and it makes a webservice call to a third party website.
  The call works fine from the windows machine but when run from tomcat it fails.
  Wont Tomcat automatically use the Windows' proxy settings?
  I added </p>
  
  <pre><code>set JAVA_OPTS=%JAVA_OPTS% "-Dhttp.proxySet=true"
  set JAVA_OPTS=%JAVA_OPTS% "-Dhttp.proxyHost=IP"
  set JAVA_OPTS=%JAVA_OPTS% "-Dhttp.proxyPort=8080"
  </code></pre>
  
  <p>to CATALINA.BAT
  and</p>
  
  <pre><code>http.proxyHost=IP
  http.proxyPort=8080
  </code></pre>
  
  <p>to catalina.properties
  But still there is no change.
  How do we set Tomcat to use the proxy settings of windows and is there a way to check if tomcat is picking up the proxy settings specified?</p>