|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
Mule stops FTP pollingI am using Mule 1.4.3 to poll FTP server to fetch feeds and process it. After some hours the instances stop polling the feeds. There are multiple mule instances, each listening to different ftp location, but under same ftp server. And each instance stops polling at different time, even though all started together. Once I restart an instance it will again start polling for some time and will stop polling after that.
Unfortunately there is no stack trace and no error indicated. Each mule instance has two connectors which works simultaneously one FTP connector which keeps on polling ftp server on particular interval and move feeds from remote location to local folder. And the second File Connector get data from the local in folder, process it, and finally ingest to MySQL. Even though the FTP Connector silently stops polling our other connector is active at the same time and will process feeds if we manually copy any feeds to its local "in" folder. All mule instances were working fine for over 5 months after last restart, but all instances got hung once our feed provider had did some maintenance at their end, but they are not willing to disclose their changes. Now the workaround is to restart mule instance once we find feeds untouched for long time at ftp location. Here is the FTP Connector's config file <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mule-configuration PUBLIC "-//MuleSource //DTD mule-configuration XML V1.0//EN" "http://mule.mulesource.org/dtds/mule-configuration.dtd"> <mule-configuration id="mule-ftp-handler-config" version="1.0"> <description> Ftp get to a remote server and place into a local directory on the MULE server </description> <connector name="ftpConnector" className="org.mule.providers.ftp.FtpConnector"> <properties> <property name="pollingFrequency" value="${ftp.polling.frequency}" /> <property name="validateConnections" value="true" /> <property name="passive" value="true" /> <property name="binary" value="false"/> </properties> </connector> <global-endpoints> <endpoint name="ftpInbound" address="${ftp.location}" connector="ftpConnector"> <filter pattern="${ftp.filter.pattern}" className="org.mule.providers.file.filters.FilenameRegexFilter"> <properties> <property name="caseSensitive" value="false"/> </properties> </filter> </endpoint> </global-endpoints> <model name="multFtp"> <mule-descriptor name="ftpService" implementation="org.mule.components.simple.BridgeComponent"> <inbound-router> <global-endpoint name="ftpInbound"/> </inbound-router> <outbound-router> <router className="org.mule.routing.outbound.OutboundPassThroughRouter"> <endpoint address="${ftp.file.in}" > <properties> <property name="outputPattern" value="${DATE}.${ORIGINALNAME}"/> </properties> </endpoint> </router> </outbound-router> </mule-descriptor> </model> </mule-configuration> Any help is highly appreciated. Thanks |
| Free embeddable forum powered by Nabble | Forum Help |