commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "linux\.power" <>
Subject [net] Problem with timeout and threads ?!
Date Tue, 20 Jun 2006 13:28:22 GMT
Hi everybody !

I have a daemon program that fetches files by ftp every 30
minutes. I use commons net in order to fetch theses ftp files.

It works well during a good time but after a few days, it
doesn't fetch anything.
I realized that one thread was blocked, so no more files
was fetched :

Stack trace:
java.lang.Object.wait(Native Method)

For information, I set a time out by using "setDataTimeout"
on FTPClient.

I don't know what happen ! Can you help me ?
Is there a way with "setReaderThread(false)" ?!

Thanks in advance :)

Accédez au courrier électronique de La Poste :
3615 LAPOSTENET (0,34 €/mn)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message