Re: Camel FTP is not responding and returning code 0 as connectiontime out

2010-06-02 Thread Willem Jiang
Claus Ibsen wrote: On Wed, Jun 2, 2010 at 1:02 PM, Srini97 wrote: Hi Claus , If possible could you please change the url info in the FTP address I have given. Since it is confidential. you can changed the filename , user and host and password with dummy chars in the URI What do you mean?

Re: Camel FTP is not responding and returning code 0 as connectiontime out

2010-06-02 Thread Claus Ibsen
On Wed, Jun 2, 2010 at 1:02 PM, Srini97 wrote: > > Hi Claus , > > If possible could you please change the url info  in the FTP address I have > given. Since it is confidential. > > you can changed the filename , user and host and password with dummy chars > in the URI > What do you mean? If you h

Re: Camel FTP is not responding and returning code 0 as connectiontime out

2010-06-02 Thread Srini97
Hi Claus , If possible could you please change the url info in the FTP address I have given. Since it is confidential. you can changed the filename , user and host and password with dummy chars in the URI Regards Sri Claus Ibsen-2 wrote: > > Hi > > Have you tried with ftpClient.soTimeout

Re: Camel FTP is not responding and returning code 0 as connectiontime out

2010-05-31 Thread Claus Ibsen
On Sat, May 29, 2010 at 6:20 AM, Willem Jiang wrote: > The NPE is caused by we can't set the soTimeout before the FtpClient > connecting the server. > How about set the option of defaultTimeout ? > Here is great blog[1] which discuss about it. > > [1]http://sudhirvn.blogspot.com/2007/05/ftpclient-

Re: Camel FTP is not responding and returning code 0 as connectiontime out

2010-05-28 Thread Willem Jiang
The NPE is caused by we can't set the soTimeout before the FtpClient connecting the server. How about set the option of defaultTimeout ? Here is great blog[1] which discuss about it. [1]http://sudhirvn.blogspot.com/2007/05/ftpclient-timeout-values.html Willem Srini97 wrote: The following is

Re: Camel FTP is not responding and returning code 0 as connectiontime out

2010-05-28 Thread Srini97
The following is the entire stack trace of the NPE wheI tried to soTimeout option [2010-05-28 16:25:37,554][DefaultMessageListenerContainer-1][ERROR][org.apache.camel.component.jms.EndpointMessageLis tener][] Caused by: [org.apache.camel.FailedToCreateProduc

Re: Camel FTP is not responding and returning code 0 as connectiontime out

2010-05-28 Thread Claus Ibsen
On Fri, May 28, 2010 at 4:33 PM, Srini97 wrote: > > I am using Camel2.3 and I tried to use soTimeout as well. But it throuing > Null pointer exception saying it is unable create producer. > Can you post the endpoint configuration and the stacktrace which causes this NPE. And how do you run Camel?

Re: Camel FTP is not responding and returning code 0 as connectiontime out

2010-05-28 Thread Srini97
I am using Camel2.3 and I tried to use soTimeout as well. But it throuing Null pointer exception saying it is create producer. Claus Ibsen-2 wrote: > > Hi > > Have you tried with ftpClient.soTimeout also? > > And what version of Camel are you using? > > > On Thu, May 27, 2010 at 2:06 PM

Re: Camel FTP is not responding and returning code 0 as connectiontime out

2010-05-27 Thread Claus Ibsen
Hi Have you tried with ftpClient.soTimeout also? And what version of Camel are you using? On Thu, May 27, 2010 at 2:06 PM, Srini97 wrote: > > Hello, > > > I am using the following URI for the delivery to FTp end point. > > ftp://castrolfootb...@94.236.51.10/?fileName=srml-4-2009-squads.xml&pas