udhayakumar thangaraj
2013-07-10 08:51:13 UTC
I am trying to use FTP component to transfer file from one folder to another folder.
<br /><br />
Please refer the attached screenshot for the FTP configuration.
<br /><br />
I am also getting the below exception. Please let me know how to resolve this
<br /><br />
java.net.ConnectException: Connection refused: connect
<br />
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
<br />
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
<br />
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
<br />
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
<br />
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
<br />
at java.net.PlainSocketImpl.connect(Unknown Source)
<br />
at java.net.SocksSocketImpl.connect(Unknown Source)
<br />
at java.net.Socket.connect(Unknown Source)
<br />
at org.apache.commons.net.SocketClient.connect(SocketClient.java:176)
<br />
at org.mule.transport.ftp.FtpConnectionFactory.makeObject(FtpConnectionFactory.java:36)
<br />
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1148)
<br />
at org.mule.transport.ftp.FtpConnector.getFtp(FtpConnector.java:176)
<br />
at org.mule.transport.ftp.FtpConnector.createFtpClient(FtpConnector.java:641)
<br />
at org.mule.transport.ftp.FtpMessageReceiver.listFiles(FtpMessageReceiver.java:138)
<br />
at org.mule.transport.ftp.FtpMessageReceiver.poll(FtpMessageReceiver.java:98)
<br />
at org.mule.transport.AbstractPollingMessageReceiver.performPoll(AbstractPollingMessageReceiver.java:219)
<br />
at org.mule.transport.PollingReceiverWorker.poll(PollingReceiverWorker.java:84)
<br />
at org.mule.transport.PollingReceiverWorker.run(PollingReceiverWorker.java:53)
<br />
at org.mule.work.WorkerContext.run(WorkerContext.java:311)
<br />
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
<br />
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
<br />
at java.lang.Thread.run(Unknown Source)
<br />
<a href="Loading Image... rel="nofollow"><img alt="" src="Loading Image... /></a>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
<br /><br />
Please refer the attached screenshot for the FTP configuration.
<br /><br />
I am also getting the below exception. Please let me know how to resolve this
<br /><br />
java.net.ConnectException: Connection refused: connect
<br />
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
<br />
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
<br />
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
<br />
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
<br />
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
<br />
at java.net.PlainSocketImpl.connect(Unknown Source)
<br />
at java.net.SocksSocketImpl.connect(Unknown Source)
<br />
at java.net.Socket.connect(Unknown Source)
<br />
at org.apache.commons.net.SocketClient.connect(SocketClient.java:176)
<br />
at org.mule.transport.ftp.FtpConnectionFactory.makeObject(FtpConnectionFactory.java:36)
<br />
at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1148)
<br />
at org.mule.transport.ftp.FtpConnector.getFtp(FtpConnector.java:176)
<br />
at org.mule.transport.ftp.FtpConnector.createFtpClient(FtpConnector.java:641)
<br />
at org.mule.transport.ftp.FtpMessageReceiver.listFiles(FtpMessageReceiver.java:138)
<br />
at org.mule.transport.ftp.FtpMessageReceiver.poll(FtpMessageReceiver.java:98)
<br />
at org.mule.transport.AbstractPollingMessageReceiver.performPoll(AbstractPollingMessageReceiver.java:219)
<br />
at org.mule.transport.PollingReceiverWorker.poll(PollingReceiverWorker.java:84)
<br />
at org.mule.transport.PollingReceiverWorker.run(PollingReceiverWorker.java:53)
<br />
at org.mule.work.WorkerContext.run(WorkerContext.java:311)
<br />
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
<br />
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
<br />
at java.lang.Thread.run(Unknown Source)
<br />
<a href="Loading Image... rel="nofollow"><img alt="" src="Loading Image... /></a>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email