Hi,
I'm trying to funnel all outbound HTTP requests through a local HTTP proxy
server. For some reason, the outbound requests never get proxy'd through (I
can see from the logs that no activity takes place when an outbound HTTP
call is made). To setup the proxy, I just modified synapse.xml so that the
java command looks like:
$JAVA_HOME/bin/java -server -Xms128M -Xmx128M \
$XDEBUG \
$TEMP_PROPS \
-Djava.net.useSystemProxies=false \
-Dhttp.proxyHost=localhost -Dhttp.proxyPort=8888 \
... everything else unmodified
The java.net.useSystemProxies was a desperation attempt (I tried without it,
or setting it to true, but it never made any different -- I saw that
referenced somewhere). I suspect it maybe has something to do with Linux, as
I've tried it on a few different Linux boxes but to no avail. I tried using
Java 1.5 and 6.
I realize this is probably not a Synapse issue, per se, but figured if
someone else experienced a similar issue and found a workaround, perhaps
they would share it.
jeff