**********************************************************************
* Mule ESB and Integration Platform *
* Version: 2.0.0 Build: 11521 *
* MuleSource, Inc. *
* For more information go to
http://mule.mulesource.org *
* *
* Server started: 1/1/70 1:00 AM *
* Server ID: a6212f35-0229-11dd-ac09-17445992a62e *
* JDK: 1.5.0_13 (mixed mode) *
* OS: Linux (2.6.22-14-generic, i386) *
* Host: hotlips (127.0.1.1) *
* *
* Agents Running: None *
**********************************************************************
INFO 2008-04-04 11:29:43,377 [Fetcher.2]
org.mule.component.simple.LogComponent:
********************************************************************************
* Message received in service: Fetcher. Content is: 'hello
' *
********************************************************************************
INFO 2008-04-04 11:29:43,395 [connector.file.0.dispatcher.1]
org.mule.transport.file.FileMessageDispatcher: Connected:
FileMessageDispatcher{this=bb2bc3, endpoint=
file:///tmp/incoming,
disposed=false}
INFO 2008-04-04 11:29:43,396 [connector.file.0.dispatcher.1]
org.mule.transport.file.FileConnector: Writing file
to: /tmp/incoming/a8724b2f-0229-11dd-ac09-17445992a62e.dat
INFO 2008-04-04 11:29:43,426 [Fetcher.3]
org.mule.component.simple.LogComponent:
********************************************************************************
* Message received in service: Fetcher. Content is: 'world
' *
********************************************************************************
INFO 2008-04-04 11:29:43,429 [connector.file.0.dispatcher.2]
org.mule.transport.file.FileConnector: Writing file
to: /tmp/incoming/a8772d38-0229-11dd-ac09-17445992a62e.dat
ERROR 2008-04-04 11:29:44,190 [ftpConnector.receiver.4]
org.mule.DefaultExceptionStrategy: Caught exception in Exception
Strategy: Unknown parser type: CWD command successful
org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown
parser type: CWD command successful
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:595)
INFO 2008-04-04 11:29:44,193 [ftpConnector.receiver.4]
org.mule.DefaultExceptionStrategy: There is no current event available,
routing Null message with the exception
This exception is now repeated indefinitely.
The behaviour is quite consistent if you follow these steps:
Start an ftp server on localhost
$ mkdir /tmp/incoming
$ mkdir /tmp/outgoing
start mule
$ cd /tmp/outgoing
$ echo hello > a
$ echo world > b
$ echo foo > c
Mule will then get the file 'a', but ignore the file 'b'. No matter how many files you create, Mule will ignore them.
$ ls
b c
stop mule
start mule
Mule will then get 'b' and 'c', but will then start to emit the above error message (Unknown parser type: CWD command successful).
This behavior has been confirmed with mule Version: 2.0.2 Build: 12377
$ java -version
java version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode, sharing)