[mule-user] Keep throw DefaultSystemExceptionStrategy exception when the FTPserver down

66 views
Skip to first unread message

jam zhou

unread,
Sep 14, 2011, 4:24:35 AM9/14/11
to us...@mule.codehaus.org
Hi,
I use Mule FTP for inbound endpoint,but if the FTP server is down , my program keep throw DefaultSystemExceptionStrategy Exception.

it's my mule config below:

<flow name="FTP1">
<ftp:inbound-endpoint connector-ref="ftpConnector" host="10.89.220.108" port="21" path=""
user="ftp" password="ftp" pollingFrequency="1000"/>
<log-component />
<component>
<singleton-object class="com.csn.telex.esb.client.MessageEngineFileClient" />
</component>
<file:outbound-endpoint path="D:\Tool" outputPattern="#[header:originalFilename]" />

</flow>

and the more information from console:

2011-09-14 16:10:38,296 ERROR org.mule.exception.DefaultSystemExceptionStrategy -
********************************************************************************
Message : Connection refused: connect (java.net.ConnectException)
Code : MULE_ERROR--2
--------------------------------------------------------------------------------
Exception stack is:
1. Connection refused: connect (java.net.ConnectException)
java.net.PlainSocketImpl:-2 (null)
2. Connection refused: connect (java.net.ConnectException) (org.mule.transport.ConnectException)
org.mule.transport.ftp.FtpMessageReceiver:112 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/transport/ConnectException.html)
--------------------------------------------------------------------------------
Root Exception stack trace:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
+ 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)
********************************************************************************

any one can help me~~thanks

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

http://xircles.codehaus.org/manage_email


Daniel Feist

unread,
Sep 14, 2011, 2:14:34 PM9/14/11
to us...@mule.codehaus.org
What behavior do you want? If the ftp server is down then Mule can't ready any messages from it. Or is it just the exception in the log you are worried about?

Dan

jam zhou

unread,
Nov 7, 2011, 4:43:35 AM11/7/11
to us...@mule.codehaus.org
It just Log,thank you

Tomas Blohm

unread,
Nov 7, 2011, 5:05:27 AM11/7/11
to us...@mule.codehaus.org
Hi,

if it's just the log entries that bothers you, for some reason, then tweak your log4j.

/Tomas Blohm

jam zhou

unread,
Nov 7, 2011, 9:24:57 PM11/7/11
to us...@mule.codehaus.org
Thank you,tomas~
Reply all
Reply to author
Forward
0 new messages