commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject Re: [vfs] SFTP Provider and Daemon Threads?
Date Tue, 10 Jun 2008 13:13:36 GMT
Hi!
> I went ahead and committed it.  It was a one-line change.  So, it'll
> be easy to back out if you so desire.  But, in my application, it
> solved the hanging problem.  So, I resolved/closed the JIRA issue.
>   
Yep, seems good. Thank you!

Ciao,
Mario
> On Tue, Jun 10, 2008 at 8:50 AM, James Carman
> <james@carmanconsulting.com> wrote:
>   
>> I've created:
>>
>> https://issues.apache.org/jira/browse/VFS-211
>>
>> and assigned it to myself.  If you don't mind, I'll add in this
>> feature and commit it (assuming it doesn't break anything of course).
>> :)
>>
>>
>> On Tue, Jun 10, 2008 at 8:45 AM, James Carman
>> <james@carmanconsulting.com> wrote:
>>     
>>> It's on the Session API (since 0.1.31 I believe).  There's a new
>>> setDaemonThread() method.
>>>
>>> On Tue, Jun 10, 2008 at 8:40 AM, Mario Ivankovits <mario@ops.co.at> wrote:
>>>       
>>>> Hi!
>>>>         
>>>>> Shouldn't the SFTP provider be calling setDaemon(true) on the JSch
>>>>> session?  I am running a simple application which just lists the
>>>>> contents of a directory and it hangs after it's done because there's
a
>>>>> non-daemon thread running (looks like a keep-alive thread from JSch).
>>>>>
>>>>>           
>>>> Is the JSch session inherited from Thread, or the flag exposed?
>>>> If there is a possibility to set this flag from VFS we should do it.
>>>>
>>>> Ciao,
>>>> Mario
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>>>> For additional commands, e-mail: user-help@commons.apache.org
>>>>
>>>>
>>>>         
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>   


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message