In addition to the error in logappender (posted in other message) we have another exception in our ftpclient, which we would like some help to figure out.
We are trying to connect to a ftpserver at f.x 20050802010848
ftpClient = new FTPClient();
ftpClient.setControlPort(xx);
ftpClient.setRemoteHost(xx);
ftpClient.setTimeout((int)xx);
ftpClient.connect();
At
20050802011348 we receive an exception :
Stacktrace: java.io.InterruptedIOException: Read timed out
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java(Compiled Code))
at java.net.SocketInputStream.read(SocketInputStream.java(Compiled Code))
at java.io.InputStreamReader.fill(InputStreamReader.java(Compiled Code))
at java.io.InputStreamReader.read(InputStreamReader.java(Compiled Code))
at java.io.BufferedReader.fill(BufferedReader.java(Compiled Code))
at java.io.BufferedReader.readLine(BufferedReader.java(Compiled Code))
at java.io.BufferedReader.readLine(BufferedReader.java(Inlined Compiled Code))
at com.enterprisedt.net.ftp.FTPControlSocket.readReply(FTPControlSocket.java(Compiled Code))
at com.enterprisedt.net.ftp.FTPControlSocket.sendCommand(FTPControlSocket.java(Inlined Compiled Code))
at com.enterprisedt.net.ftp.FTPClient.user(FTPClient.java(Inlined Compiled Code))
at com.enterprisedt.net.ftp.FTPClient.login(FTPClient.java(Compiled Code))
at dk.dannet.stdftp.ftpservice.ftpclient.ExchangeFiles.ftpLogin(ExchangeFiles.java(Compiled Code))
at dk.dannet.stdftp.ftpservice.ftpclient.ExchangeFilesImplUpload.sendFiles(ExchangeFilesImplUpload.java(Compiled Code))
at dk.dannet.stdftp.ftpservice.ftpclient.FtpClientWorker.doJob(FtpClientWorker.java(Compiled Code))
at dk.dannet.stdftp.ftpservice.StdFtpWorker.loopIteration(StdFtpWorker.java(Compiled Code))
at dk.dannet.stdftp.ftpservice.StdFtpWorker.run(StdFtpWorker.java:240)
at java.lang.Thread.run(Thread.java:513)
It is the same ftpserver which we connect and upload 1-2000 files a day, but 5 - 20 times a day, we get this exception.
The client is running on an Unix with Java 1.3.1
Where could the problem be ??