Jeff

You need to edit the Axis2.xml

This article shows how:

http://wso2.org/library/3346

Paul

PS this is because we don't use the standard Java HTTP libraries.

On Mon, Nov 24, 2008 at 8:47 PM, Jeff Davis <[EMAIL PROTECTED]> wrote:
> 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
>



-- 
Paul Fremantle
Co-Founder and CTO, WSO2
Apache Synapse PMC Chair
OASIS WS-RX TC Co-chair

blog: http://pzf.fremantle.org
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

Reply via email to