ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Connection refused error
Date Thu, 20 Oct 2005 10:16:48 GMT
Yalamanchili, Ravi wrote:
> Hi everybody, I am using ant to compile, I am getting connection refused
> error:connect, please le me know if I am missing some thing from the ant
> config it self or how should I resolve this problem
> 
> Buildfile: build.xml
> 
> BUILD FAILED
> C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build.xml:13: The following
> error o
> ccurred while executing this line:
> Error reading project file
> C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build_co
> re.xml: Connection refused: connect

Connection refused is a well known *networking* error. Search for 
"connection refused" for details.

> 
> Total time: 1 second
> 
> This is error output in verbose mode, bot build.xml and build_core.xml are
> existing in the same path. Thank you all
> 
> Apache Ant version 1.6.2 compiled on July 16 2004
> Buildfile: build.xml
> Detected Java version: 1.4 in: E:\j2sdk1.4.2_09\jre
> Detected OS: Windows 2003
> parsing buildfile C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build.xml
> with UR
> I = file:///C:/plumtree_ui_source/portalui/6.0.x/ptwebui/build.xml
> Project base dir set to: C:\plumtree_ui_source\portalui\6.0.x\ptwebui
> Importing file build_core.xml from
> C:\plumtree_ui_source\portalui\6.0.x\ptwebui\
> build.xml
> parsing buildfile
> C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build_core.xml wi
> th URI = file:///C:/plumtree_ui_source/portalui/6.0.x/ptwebui/build_core.xml

this is the last thing ant was doing

> resolving systemId: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd




> 
> BUILD FAILED
> C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build.xml:13: The following
> error o
> ccurred while executing this line:
> Error reading project file
> C:\plumtree_ui_source\portalui\6.0.x\ptwebui\build_co
> re.xml: Connection refused: connect
>         at

I think if you are tryng to pull down a DTD you need to have it visible 
from your box.

This may need a JVM proxy configuration in the ANT-OPTS env variable

-Dhttp.proxyHost=proxy -Dhttp.proxyPort=80





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message