commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominic Soundranayagam (Commented) (JIRA)" <>
Subject [jira] [Commented] (NET-443) Threads are in State RUNNABLE FTPCLient
Date Mon, 12 Mar 2012 06:30:39 GMT


Dominic Soundranayagam commented on NET-443:

Hi Korcan 

I had faced the same issue couple of day before. I have two projects in my workspace both
are related to FTP .One has the JRE 6 and other one is on JDK1.6_25 ,So when i ran the ftp.listFiles()
the programme got hang.I tried with the ftp.setConnectionTimeOut() and derived the getResponseString()
it said try to connect to channel and the return code was 150.
Its absolutly wored. WHen i changed the environment to JDK 1.6_26 it worked Well..

> Threads are in State RUNNABLE FTPCLient
> ---------------------------------------
>                 Key: NET-443
>                 URL:
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>         Environment: WIN2003
>            Reporter: Korcan
>              Labels: newbie
>   Original Estimate: 612h
>  Remaining Estimate: 612h
> 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 and 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 api problem or JRE problem or OS problem? 
> Thanks in advance for your helps 
> BTW there is a code ftp.listfiles(); threads are waiting for this i think but why i dont

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message