ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yalamanchili, Ravi" <ravi_yalamanch...@medco.com>
Subject RE: Connection refused error
Date Thu, 20 Oct 2005 13:28:17 GMT
Steve, This is helped, thanks a lot

Ravi Yalamanchili
201 269 2042


-----Original Message-----
From: Steve Loughran [mailto:stevel@apache.org] 
Sent: Thursday, October 20, 2005 6:17 AM
To: Ant Users List
Subject: Re: Connection refused error


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

-----------------------------------------
This e-mail message and any attachments contain confidential
information from Medco. If you are not the intended recipient, you are
hereby notified that disclosure, printing, copying, distribution, or
the taking of any action in reliance on the contents of this electronic
information is strictly prohibited. If you have received this e-mail
message in error, please immediately notify the sender by reply message
and then delete the electronic message and any attachments.


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


Mime
View raw message