[ 
http://issues.apache.org/jira/browse/AXIS-2420?page=comments#action_12367773 ] 

Steve Loughran commented on AXIS-2420:
--------------------------------------

I'm not personally happy with the Java1.5 proxy stuff

-it now triggers a reverse DNS lookup whenever you try opening a connection to 
anything supplied by URL, just so it can decide if a proxy should engage. Which 
means that when you are on an unmanaged network things can take much longer 
than normal. (the usual sun-dont-have-laptops) kind of problem

-We've tried turning on the determine-the-proxy-from-the-browser stuff in Ant, 
and it just doesnt work the way it claims to. The worse part is -this stuff is 
a dog to test, because you can only reliably test on an isolated network.

I don't foresee anyone wanting to invest that much effort in adding java1.5 
features to the axis1.x codebase; even getting it in to Axis1.2 would be 
trouble, because it complicates your build and test process that much more. 
(you need to build 1.4 compatible code on a 1.4 JVM, then patch in the 1.5 
.class files later). 

However, Axis1.x and 2.x can both switch to use the jakarta-commons httpclient 
library. This is what you should be using if you can, because it understads 
HTTP properly. If you could get proxy support in there, either axis build could 
pick it up.



> Support for ProxySelector (Java 1.5)
> ------------------------------------
>
>          Key: AXIS-2420
>          URL: http://issues.apache.org/jira/browse/AXIS-2420
>      Project: Apache Axis
>         Type: Wish
>     Versions: 1.2
>     Reporter: mi

>
> Axis (1.2) seems to read the proxy configuration from java.net.properties 
> (deprecated in Java 5) or AxisProperties. 
> Java 5 introduced the possibility to set a default ProxySelector, that 
> manages more than one proxy at a time. For instance, if a proxy is down, it 
> tries the next one. My application depends on it, however Axis doesn't comply 
> to this (it supports a single proxy only). 
> It would be nice to see support for ProxySelector and the new proxy API from 
> SUN in Axis.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to