Thank you for your mail.
 
Avaleo office is closed from December 23 to January 2 were we will address you 
request.
If you have urgent requests it's possible to call the following persons:
 
- From December 23th to December 27th (both days included) please call Niels 
Dyrnesli on +45 40741496.
- From December 28th to January 1 (both days included) please call Anders 
Kofoed +4529442941
 
Kind regards
Anders Kofoed
Avaleo ApS


-----Original Message-----
Reply-To: "Jakarta Commons Users List" <[email protected]>
Date: Fri, 29 Dec 2006 19:57:01 -0800
From: Cyril Bouteille <[EMAIL PROTECTED]>
To:  [email protected]
Subject: listFiles throws SocketException: Connection reset even in passive

> Hello,
> I've a Java 1.5 program retrieving files over ftp using net 1.4.1, which 
> works fine in our dev environment, but throws the exception below in our 
> production environment on the listFiles() call.
> 1) I am calling enterLocalPassiveMode() to use passive mode, and
> 2) I'm able to list files with the ftp cli client on the same production 
> machine that the Java program is running on, so network ACLs seem ok
> Is there anything else I am missing?
> I'm at loss on how to resolve this issue and would appreciate your input.
> Thanks,

> SEVERE 16:13:14 MailScanJob.runJob: Exception java.net.SocketException: 
> Connection reset
> java.net.SocketException: Connection reset
>       at java.net.SocketInputStream.read(SocketInputStream.java:168)
>       at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
>       at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
>       at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
>       at java.io.InputStreamReader.read(InputStreamReader.java:167)
>       at java.io.BufferedReader.fill(BufferedReader.java:136)
>       at java.io.BufferedReader.readLine(BufferedReader.java:299)
>       at java.io.BufferedReader.readLine(BufferedReader.java:362)
>       at 
> org.apache.commons.net.ftp.FTPFileEntryParserImpl.readNextEntry(FTPFileEntryParserImpl.java:95)
>       at 
> org.apache.commons.net.ftp.FTPListParseEngine.readStream(FTPListParseEngine.java:150)
>       at 
> org.apache.commons.net.ftp.FTPListParseEngine.readServerList(FTPListParseEngine.java:98)
>       at 
> org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2396)
>       at 
> org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2364)
>       at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
>       at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2188)
>       at peerflix.job.trade.MailScanJob.processMailScans(MailScanJob.java:136)
>       at peerflix.job.trade.MailScanJob.runJob(MailScanJob.java:87)
>       at peerflix.job.PfxJob.main(PfxJob.java:97)



> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to