[mule-user] re[mule-user] grading ftp files transfer

1 view
Skip to first unread message

ramaky

unread,
Sep 8, 2008, 3:25:29 AM9/8/08
to us...@mule.codehaus.org

<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:stdio="http://www.mulesource.org/schema/mule/stdio/2.0"
xmlns:file="http://www.mulesource.org/schema/mule/file/2.0"
xmlns:xm="http://www.mulesource.org/schema/mule/xml/2.0"
xmlns:ftp="http://www.mulesource.org/schema/mule/ftp/2.0"
xsi:schemaLocation="http://www.mulesource.org/schema/mule/core/2.0
http://www.mulesource.org/schema/mule/core/2.0/mule.xsd
http://www.mulesource.org/schema/mule/stdio/2.0
http://www.mulesource.org/schema/mule/stdio/2.0/mule-stdio.xsd
http://www.mulesource.org/schema/mule/file/2.0
http://www.mulesource.org/schema/mule/file/2.0/mule-file.xsd
http://www.mulesource.org/schema/mule/xml/2.0
http://www.mulesource.org/schema/mule/xml/2.0/mule-xml.xsd
http://www.mulesource.org/schema/mule/ftp/2.0
http://www.mulesource.org/schema/mule/ftp/2.0/mule-ftp.xsd">

<description>Simple FTP</description>

<ftp:connector binary="true" name="ftpConnector"
validateConnections="true" />

<model>
<service name="ftpService">
<inbound>
<ftp:inbound-endpoint user="xxx"
password="yyy" host="localhost" port="21" path="/dest" >
<file:file-to-string-transformer/>
<file:filename-wildcard-filter
pattern="*.txt,*.xml"/>
</ftp:inbound-endpoint>
</inbound>

<outbound>
<outbound-pass-through-router>
<file:outbound-endpoint
path="D:/rama" outputPattern="${ORIGINALNAME}"></file:outbound-endpoint>
</outbound-pass-through-router>
</outbound>
</service>
</model>
</mule>

hi , this is my ftp configuration file , when i am trying move the files it
works fine , but some files in the source destinaiton remains in the same
folder , and iam getting following errors


at
org.mule.transport.ftp.FtpMessageReceiver.processFile(FtpMessageReceiver.java:147)
at
org.mule.transport.ftp.FtpMessageReceiver$FtpWork.run(FtpMessageReceiver.java:205)
at org.mule.work.WorkerContext.run(WorkerContext.java:310)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
at java.lang.Thread.run(Thread.java:619)
ERROR 2008-09-08 12:30:07,305 [ftpConnector.receiver.10]
org.mule.DefaultExceptionStrategy: Caught exception in Exception Strategy:
Failed to retrieve file ftp-config.xml. Ftp error: 250
java.io.IOException: Failed to retrieve file ftp-config.xml. Ftp error: 250
at
org.mule.transport.ftp.FtpMessageReceiver.processFile(FtpMessageReceiver.java:147)
at
org.mule.transport.ftp.FtpMessageReceiver$FtpWork.run(FtpMessageReceiver.java:205)
at org.mule.work.WorkerContext.run(WorkerContext.java:310)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
at java.lang.Thread.run(Thread.java:619)
INFO 2008-09-08 12:30:07,305 [ftpConnector.receiver.10]
org.mule.DefaultExceptionStrategy: There is no current event available,
routing Null message with the exception
ERROR 2008-09-08 12:30:07,305 [ftpConnector.receiver.5]
org.mule.DefaultExceptionStrategy: Caught exception in Exception Strategy:
Failed to retrieve file ftp1.txt. Ftp error: 250
java.io.IOException: Failed to retrieve file ftp1.txt. Ftp error: 250
at
org.mule.transport.ftp.FtpMessageReceiver.processFile(FtpMessageReceiver.java:147)
at
org.mule.transport.ftp.FtpMessageReceiver$FtpWork.run(FtpMessageReceiver.java:205)
at org.mule.work.WorkerContext.run(WorkerContext.java:310)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
at java.lang.Thread.run(Thread.java:619)
ERROR 2008-09-08 12:30:07,355 [ftpConnector.receiver.9]
org.mule.DefaultExceptionStrategy: Caught exception in Exception Strategy:
Unknown parser type: Directory successfully changed
org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown
parser type: Directory successfully changed
at
org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:118)
at
org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2358)
at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2188)
at
org.mule.transport.ftp.FtpMessageReceiver.listFiles(FtpMessageReceiver.java:96)
at
org.mule.transport.ftp.FtpMessageReceiver.poll(FtpMessageReceiver.java:72)
at
org.mule.transport.PollingReceiverWorker.run(PollingReceiverWorker.java:47)
at org.mule.work.WorkerContext.run(WorkerContext.java:310)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
at java.lang.Thread.run(Thread.java:619)
INFO 2008-09-08 12:30:07,355 [ftpConnector.receiver.9]
org.mule.DefaultExceptionStrategy: There is no current event available,
routing Null message with the exception
ERROR 2008-09-08 12:30:07,375 [ftpConnector.receiver.2]
org.mule.DefaultExceptionStrategy: Caught exception in Exception Strategy:
Failed to retrieve file ftp4.txt. Ftp error: 250
java.io.IOException: Failed to retrieve file ftp4.txt. Ftp error: 250
at
org.mule.transport.ftp.FtpMessageReceiver.processFile(FtpMessageReceiver.java:147)
at
org.mule.transport.ftp.FtpMessageReceiver$FtpWork.run(FtpMessageReceiver.java:205)
at org.mule.work.WorkerContext.run(WorkerContext.java:310)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
at java.lang.Thread.run(Thread.java:619)
ERROR 2008-09-08 12:30:07,375 [ftpConnector.receiver.4]
org.mule.DefaultExceptionStrategy: Caught exception in Exception Strategy:
Failed to retrieve file ftp2.txt. Ftp error: 250
java.io.IOException: Failed to retrieve file ftp2.txt. Ftp error: 250
at
org.mule.transport.ftp.FtpMessageReceiver.processFile(FtpMessageReceiver.java:147)
at
org.mule.transport.ftp.FtpMessageReceiver$FtpWork.run(FtpMessageReceiver.java:205)
at org.mule.work.WorkerContext.run(WorkerContext.java:310)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
at java.lang.Thread.run(Thread.java:619)


-----
thanks and regrads,
ramky.
--
View this message in context: http://www.nabble.com/regrading-ftp-files-transfer-tp19367160p19367160.html
Sent from the Mule - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Ove Gram Nipen

unread,
Sep 9, 2008, 10:43:13 AM9/9/08
to us...@mule.codehaus.org
On Mon, 2008-09-08 at 00:25 -0700, ramaky wrote:
> org.mule.DefaultExceptionStrategy: Caught exception in Exception Strategy:
> Unknown parser type: Directory successfully changed

I'm getting the same error. See
http://mule.mulesource.org/jira/browse/MULE-3192

I reran this test on Ubuntu 8.04 using Mule 2.0.2 today. What platform
are you using?

Can you please vote for this issue on JIRA?
--
Best regards,
Ove Gram Nipen

Reply all
Reply to author
Forward
0 new messages