You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Asankha C. Perera (JIRA)" <ji...@apache.org> on 2009/03/12 12:56:51 UTC

[jira] Commented: (SYNAPSE-481) Outbound proxy server settings do not appear to be working

    [ https://issues.apache.org/jira/browse/SYNAPSE-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681277#action_12681277 ] 

Asankha C. Perera commented on SYNAPSE-481:
-------------------------------------------

I propose the model where one could specify the configuration as follows, which is more natural to the TransportSender, as well as to the standard Java system configuration

    <transportSender name="http"  class="org.apache.synapse.transport.nhttp.HttpCoreNIOSender">
        <parameter name="non-blocking" locked="false">true</parameter>
        <parameter name="http.proxyHost" locked="false">localhost</parameter>
        <parameter name="http.proxyPort" locked="false">3128</parameter>
        <parameter name="http.nonProxyHosts" locked="false">moon| sun:2200| .mozilla.org</parameter>
    </transportSender>

Ref: http://java.sun.com/j2se/1.5.0/docs/guide/net/proxies.html

> Outbound proxy server settings do not appear to be working
> ----------------------------------------------------------
>
>                 Key: SYNAPSE-481
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-481
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2
>         Environment: Testing on Ubuntu Linux, Java 1.5 and 6.0
>            Reporter: Jeff Davis
>            Assignee: Asankha C. Perera
>
> The outbound proxy server settings, outline in this document - http://wso2.org/library/3346, do not appear to be working. For example, I tried this setting in the axis2.xml file:
> <axisconfig name="AxisJava2.0">
>      <parameter name="Proxy">
>              <Configuration>
>                       <ProxyHost>localhost</ProxyHost>
>                       <ProxyPort>8888</ProxyPort>
>               </Configuration>
>     </parameter>
> ....other stuff
> </axisconfig> 
> My local outbound proxy that I was testing with, TinyProxy (available with most Linux distro's) doesn't show any activity (but I've confirmed it's working properly via some other programs) when I attempt to call a remote endpoint service. I also attempted using the Java system properties option, but that similarly didn't appear to be work.
> Unfortunately, a lot of companies are now restricting all outbound traffic except through a proxy, so this can be a significant problem. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org