commons-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/NET-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227334#comment-13227334
] 

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: https://issues.apache.org/jira/browse/NET-443
>             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 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 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
know

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message