ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50888] New: Splash-Tasks messes Proxy-Settings
Date Tue, 08 Mar 2011 10:28:29 GMT
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: notifications@ant.apache.org
        ReportedBy: Thomas.Hoffmann@speed4trade.com


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.

Mime
View raw message