You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Artyom Karalov (JIRA)" <ax...@ws.apache.org> on 2008/09/23 09:00:44 UTC

[jira] Created: (AXIS-2760) Axis doesn't handle host names specified in http.nonProxyList correctly

Axis doesn't handle host names specified in http.nonProxyList correctly
-----------------------------------------------------------------------

                 Key: AXIS-2760
                 URL: https://issues.apache.org/jira/browse/AXIS-2760
             Project: Axis
          Issue Type: Bug
          Components: Basic Architecture
    Affects Versions: 1.4
         Environment: JDK 1.4, Windows / Unix, Axis 1.4
            Reporter: Artyom Karalov
            Priority: Minor
             Fix For: 1.4


I use client executing webservices using Axis and I set proxy details via system properties (for other purposes), such that ip of server with WS is excluded. When I try to connect to my server by host name (!) Axis goes to proxy, although it should be ignored. When I do the same by ip (rather than name) it works fine. Note that same situation is handled corectly by java HttpURLConnection.
AXIS should resolve host names prior to matching them in exclusion list (org.apache.axis.components.net.DefaultSocketFactory.isHostInNonProxyList).

To reproduce the problem connect to local server (10.xxx.xxx.xxx) by name and set system properties as follows
-Dhttp.proxyHost=<host>
-Dhttp.proxyPort=<port>
-Dhttp.nonProxyHosts=10.*

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org