Hi Norberto, Can you please report an issue here[1] with a complete example on how to reproduce. Please include a sample proxy and the logs generated. Also include details on how to enable the logs you generated. We shall look into it.
[1] https://github.com/wso2/product-ei/issues Thanks, Riyafa On Wed, May 9, 2018 at 3:03 PM Fernandes, Norberto < [email protected]> wrote: > Hi, > > Riyafa, I am using EI 6.2.0. > > Thishani, On the proxy I defined the maxRetryCount and reconnectTimeout > like: > > <endpoint> > <address uri="vfs:ftp://xxxx:[email protected] > /QA/Jxxxx?transport.vfs.ReconnectTimeout=10&transport.vfs.MaxRetryCount=5> > > If you notice on the log that I sent, these parameters are defined and > printed by the VFSOutTransportInfo. But I don't think these parameters are > sent to the vfs ftp provider classes. > Or there are other set of parameters to set it. But I could not find any > documentation on these. > > Regards, > Norberto > > > > On 9 May 2018 at 05:25, Thishani Lucas <[email protected]> wrote: > >> Hi Norberto, >> >> As you can see from the code [1], these logs are printed if there's a >> number format exp. How did you define the MaxRetryCount and >> ReconnectTimeout? >> >> [1] >> https://github.com/wso2/wso2-commons-vfs/blob/2.2.x/commons-vfs2/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpClientFactory.java#L140 >> >> Thanks, >> Thishani >> >> On Wed, May 9, 2018 at 5:48 AM, Riyafa Abdul Hameed <[email protected]> >> wrote: >> >>> Hi, >>> >>> Which version of ESB/EI are you using? >>> >>> Regards, >>> Riyafa >>> >>> On Tue, 8 May 2018, 20:11 Fernandes, Norberto, < >>> [email protected]> wrote: >>> >>>> Hi team, >>>> >>>> I have a proxy that is sending data using the vfs transport and ftp >>>> protocol. >>>> I have this logging when I enable the logging. >>>> >>>> TID: [-1234] [] [2018-05-08 15:11:18,818] DEBUG >>>> {org.apache.synapse.commons.vfs.VFSOutTransportInfo} - Using the >>>> fileURI : ftp://userQA:[email protected] >>>> /QA/AXXXXXES/XXXXXXion_Test.csv?transport.v >>>> >>>> fs.ReconnectTimeout=10&transport.vfs.MaxRetryCount=5 >>>> {org.apache.synapse.commons.vfs.VFSOutTransportInfo} >>>> >>>> TID: [-1234] [] [2018-05-08 15:11:18,818] DEBUG >>>> {org.apache.synapse.commons.vfs.VFSOutTransportInfo} - Using the >>>> maxRetryCount : 5 {org.apache.synapse.commons.vfs.VFSOutTransportInfo} >>>> >>>> TID: [-1234] [] [2018-05-08 15:11:18,818] DEBUG >>>> {org.apache.synapse.commons.vfs.VFSOutTransportInfo} - Using the >>>> reconnectionTimeout : 10000 >>>> {org.apache.synapse.commons.vfs.VFSOutTransportInfo} >>>> >>>> TID: [-1234] [] [2018-05-08 15:11:18,819] DEBUG >>>> {org.apache.synapse.commons.vfs.VFSOutTransportInfo} - Using the >>>> append : false >>>> {org.apache.synapse.commons.vfs.VFSOutTransportInfo} >>>> >>>> TID: [-1234] [] [2018-05-08 15:11:18,819] DEBUG >>>> {org.apache.synapse.commons.vfs.VFSOutTransportInfo} - File locking >>>> : OFF {org.apache.synapse.commons.vfs.VFSOutTransportInfo} >>>> >>>> TID: [-1234] [] [2018-05-08 15:11:18,819] WARN >>>> {org.apache.commons.vfs2.provider.ftp.FtpClientFactory$FtpConnectionFactory} >>>> - Invalid connection timeout null. Set the connectionTimeout as 5000. >>>> (default) {org.apache.com >>>> >>>> mons.vfs2.provider.ftp.FtpClientFactory$FtpConnectionFactory} >>>> >>>> TID: [-1234] [] [2018-05-08 15:11:18,819] WARN >>>> {org.apache.commons.vfs2.provider.ftp.FtpClientFactory$FtpConnectionFactory} >>>> - Invalid connection retry count null. Set the connectionRetryCount >>>> as 5. (default) {org.apache >>>> >>>> .commons.vfs2.provider.ftp.FtpClientFactory$FtpConnectionFactory} >>>> >>>> >>>> I have the RecoonectTimeout and the MaxRetryCount settings defined. But >>>> the apache commons vfs class indicates that the connection timeout and >>>> retry count is not defined. >>>> >>>> How can I defined these parameters? >>>> >>>> Regards, >>>> Norberto >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Regards, >> >> *Thishani Lucas* >> *Software Engineer* >> *WSO2 Lanka (Private) Limited**: http://wso2.com <http://wso2.com/>* >> *lean.enterprise.middle-ware* >> >> *Tel: +94 77 2556931 * >> >> *LinkedIn: https://www.linkedin.com/in/thishani-lucas/ >> <https://www.linkedin.com/in/thishani-lucas/>* >> >> <http://wso2.com/signature> >> > > -- Riyafa Abdul Hameed Software Engineer, WSO2 Lanka (Pvt) Ltd <http://wso2.com/> Email: [email protected] <[email protected]> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/> <http://facebook.com/riyafa.ahf> <http://lk.linkedin.com/in/riyafa> <http://twitter.com/Riyafa1>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
