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
While specifying proxy settings, you have to define the proxy server name like below:
"-Dhttp.proxyHost=proxy.example.com"