ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50888] New: Splash-Tasks messes Proxy-Settings
Date Tue, 08 Mar 2011 10:28:29 GMT

           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

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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message