• Post Reply Bookmark Topic Watch Topic
  • New Topic

FTPClient problem in different Win OS  RSS feed

Arsen Lupen
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
I have developed new application which uses apachi commons.net 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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!