Two Laptop Bag
The moose likes Other Open Source Projects and the fly likes FTPClient problem in different Win OS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "FTPClient problem in different Win OS" Watch "FTPClient problem in different Win OS" New topic

FTPClient problem in different Win OS

Arsen Lupen

Joined: Nov 20, 2008
Posts: 15
Hi there,
I have developed new application which uses apachi FTPClient to connect to a Windows OS FTP Server and checks approximately 4000 folders on FTP Server.
I am generating Threads to minimize the looping over folders.Every thread tries to loop for example 250 folders.When i run the application on my local computer WinXP no problem.When i yesterday installed WIN2003 Server and run the application i realized that program runs tries 3-5 times for every thread sleeps ...and suddenly i see that threads are blocked.
I use JRE6 and JConsole also i can see very well that every thread are in state RUNNABLE and RMI TCP threads are time waited state.I could not find any solution the whole day.
is it Apache problem or JRE problem or should am i using threads wrong?
Thanks in advance for your helps

BTW there is a code ftp.listfiles(); threads are waiting for this i think but why i dont know
I agree. Here's the link:
subject: FTPClient problem in different Win OS
It's not a secret anymore!