ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Ant FTP Hangs -- Additional Info
Date Wed, 01 Mar 2006 11:53:17 GMT
JWM wrote:
> Just trying to change things to see if it fixes it or if it caused the
> symptoms to change to perhaps something more obvious, I changed the ant task
> to use passive ftp.  Still fails randomly after a while each run.  But now I
> get this error message each time.
> 
> Can someone interpret this?  What address?  The IP and/or port?  It almost
> looks like multithread collisions.  I'm not running any other instances of
> this at the same time
> 



> 
> BUILD FAILED
> C:\backup\ftp\build.xml:62: error during FTP transfer:
> java.net.BindException: Address already in use: connect
-----
public class BindException extends SocketException

Signals that an error occurred while attempting to bind a socket to a 
local address and port. Typically, the port is in use, or the requested 
local address could not be assigned.
---

something else may be listening, the question is: which port. It may 
just be an accidental clash.

try passive="true"

I've just tweaked <ftp> in the repository to not strip out so much of 
the caught exception, so a -v run will include more diagnostics. Check 
it out and rebuild ant if you want to do more debugging.

-steve

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


Mime
View raw message