You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2006/10/31 15:30:03 UTC
[jira] Updated: (SM-677) FTP connection not recovered after ftp
server failure/recovery
[ https://issues.apache.org/activemq/browse/SM-677?page=all ]
Guillaume Nodet updated SM-677:
-------------------------------
Component/s: servicemix-components
Fix Version/s: 3.0.1
3.1
Assignee: Guillaume Nodet
> FTP connection not recovered after ftp server failure/recovery
> --------------------------------------------------------------
>
> Key: SM-677
> URL: https://issues.apache.org/activemq/browse/SM-677
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-components
> Affects Versions: 3.0
> Environment: Windows XP PRO SP2, JRE 1.5.08, Filezilla Server
> Reporter: martin schlienger
> Assigned To: Guillaume Nodet
> Fix For: 3.0.1, 3.1
>
>
> If I shut down the FTP server, simulating a failure, connection is never restablished when server comes online again. Throwing some exception:
> ERROR - PollingComponentSupport - Caught exception while polling: java.net.SocketException: Software caused connection abort: socket write error
> java.net.SocketException: Software caused connection abort: socket write error
> at java.net.SocketOutputStream.socketWrite0(Native Method)
> at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
> at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
> at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
> at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
> at org.apache.commons.net.telnet.TelnetClient._flushOutputStream(TelnetClient.java:77)
> at org.apache.commons.net.telnet.TelnetOutputStream.flush(TelnetOutputStream.java:137)
> at java.io.FilterOutputStream.flush(FilterOutputStream.java:123)
> at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:410)
> at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
> at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
> at java.io.BufferedWriter.flush(BufferedWriter.java:236)
> at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:442)
> at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:520)
> at org.apache.commons.net.ftp.FTP.port(FTP.java:849)
> at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:477)
> at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2390)
> 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.servicemix.components.net.FTPPoller.poll(FTPPoller.java:61)
> at org.apache.servicemix.components.util.PollingComponentSupport.run(PollingComponentSupport.java:62)
> at org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:291)
> at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Thread.java:595)
> I tried to stop/shutdown and restart my FTP component through jmx without sucess. Only rebooting smx will recover the connection.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira