I'm need to create application that is able to transfer files from one ftp
folder to another.
I'm using mule to do this, and it works fine when I use up to 4 FTP bridges
(pair of poller and sender), but I need more connections.
Endpoints and registring components is done programmatically (from java
code).
I found out that FtpConnector extends AbstractConnector which has member
DEFAULT_NUM_CONCURRENT_TX_RECEIVERS = 4;
this may be cosing this problem, can anyone tell my how to change this
value, or what to do to increase number of maximum allowed FTP connections.
Thank you in advance!
Regards,
Milan Dinic
--
View this message in context: http://www.nabble.com/FTP-number-of-concurrent-connections-tp15264589p15264589.html
Sent from the Mule - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
builder.createStartedManager(false, "", "seda");
now, I can have as much connections as I need, like always, new problem
occurred.
Sometimes, but only sometimes, mule throws exception, while doing file
polling:
04 Feb 2008 16:56:25,645 DEBUG [FtpTransportHandlerImpl] The transformed
object is of expected type. Type is: byte[]
04 Feb 2008 16:56:26,114 ERROR [DefaultExceptionStrategy] Caught exception
in Exception Strategy: Failed to retrieve file testfile3.xml. Ftp error: 550
java.io.IOException: Failed to retrieve file testfile3.xml. Ftp error: 550
at
org.mule.providers.ftp.FtpMessageReceiver.processFile(FtpMessageReceiver.java:170)
at
org.mule.providers.ftp.FtpMessageReceiver$FtpWork.run(FtpMessageReceiver.java:224)
at org.mule.impl.work.WorkerContext.run(WorkerContext.java:310)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Unknown Source)
and successfully performs copy operation from one location to another?!?
test if performed with 10 'poll' folders each containing 5 files, and 10
'send' folder
do you have any idea what might be the cause of this exception?
-Milan
--
View this message in context: http://www.nabble.com/FTP-number-of-concurrent-connections-tp15264589p15269030.html