https://issues.apache.org/bugzilla/show_bug.cgi?id=50888

           Summary: Splash-Tasks messes Proxy-Settings
           Product: Ant
           Version: 1.8.2
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: [email protected]
        ReportedBy: [email protected]


If no Proxy is configured, the splash task will set two system-Properties:
  System.getProperties().put("http.proxyHost", "");
  System.getProperties().put("http.proxyPort", "");

Instead of removing the properties, they are set two an empty string!
This causes trouble when involving axis2. Within Axis2 the
system property proxyHost is checked for null and not empty string.

Thats why axis2 thinks a proxy is configured but fails to set the
proxy-attributes (Invalid-Number because ProxyPort is "")

It would be better to remove these two properties, when no proxy is configured.
Otherwise other programs get confused.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to