Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Basically, I'm trying to make SOAP calls from a Tomcat server via a corporate proxy/ firewall (which I have no direct control over), I've tried to add info to the file as shown:


I'm still getting timeouts in the stdout logs. Do I need to do anything else and if not is there another way to test the SOAP calls?

share|improve this question
Is your corporate proxy listening on port 80? Does it require authentication? – sybreon Sep 3 '10 at 3:16
Yes it's listening on port 80, no authentication required. – alimack Sep 4 '10 at 13:11

Create a (or setenv.bat if running windows), if you don't already have one, and add the following java options:

JAVA_OPTS="-Dhttp.proxySet=true -Dhttp.proxyHost=<proxy_hostname> -Dhttp.proxyPort=<port_number> -Dhttp.nonProxyHosts=<domain_one>|<domain two> $JAVA_OPTS"

This should work nicely.

share|improve this answer

You can implement HTTP proxy, https proxy and non-http proxy also in tomcat. You need to update two files i.e, ../bin/ and ../conf/

Detailed configuration and steps are mentioned here :

share|improve this answer

If you only need soap calls to go via proxy, you can use jproxyloader. With this library you can pass soap calls via proxy and all the other calls will not use proxy. See for complete setup.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.