edtftpj 1.5.2
RHLinux to RHLinux
server A logs in B,C correctly from 1 am to 23 pm, but it hangs when logged in at 0 am.
code:
try{
log.info("Logging in:"+this.account.getIp());
ftp.login(account.getUser(), account.getPassword());
ftp.setTimeout(this.ftpConnectionTimeout);
ftp.setConnectMode(FTPConnectMode.PASV);
ftp.setType(FTPTransferType.BINARY);
}
catch(Exception ex)
{
log.error("Exception when login & set PARAM", ex);
}
Log as below:
connecting: 192.168.0.109
connecting: 192.168.0.108
Logging in:192.168.0.108
Logging in:192.168.0.109
and it hangs just until my timeout watch thread kills it.
BUT!!! When the app is deployed in Unix to login Linux, and Login Unix, or the Linux to login Unix, erverything just goes well.
Error occurs just when the Linux logging Linux...
thx for help.