You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "James Carman (JIRA)" <ji...@apache.org> on 2008/06/10 14:50:46 UTC

[jira] Created: (VFS-211) The SFTP Provider Should Use Daemon Threads

The SFTP Provider Should Use Daemon Threads
-------------------------------------------

                 Key: VFS-211
                 URL: https://issues.apache.org/jira/browse/VFS-211
             Project: Commons VFS
          Issue Type: Improvement
    Affects Versions: 1.1, 2.0
            Reporter: James Carman
            Assignee: James Carman
             Fix For: 2.0


In a simple connect and list the contents example, it never terminates since JSch fires up a "keep alive" thread and doesn't mark it as daemon.  You can tell JSch to make that thread a daemon thread by calling setDaemonThread(true) on the Session.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (VFS-211) The SFTP Provider Should Use Daemon Threads

Posted by "James Carman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Carman resolved VFS-211.
------------------------------

    Resolution: Fixed

> The SFTP Provider Should Use Daemon Threads
> -------------------------------------------
>
>                 Key: VFS-211
>                 URL: https://issues.apache.org/jira/browse/VFS-211
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.1, 2.0
>            Reporter: James Carman
>            Assignee: James Carman
>             Fix For: 2.0
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> In a simple connect and list the contents example, it never terminates since JSch fires up a "keep alive" thread and doesn't mark it as daemon.  You can tell JSch to make that thread a daemon thread by calling setDaemonThread(true) on the Session.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (VFS-211) The SFTP Provider Should Use Daemon Threads

Posted by "James Carman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VFS-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Carman closed VFS-211.
----------------------------


This appears to have fixed the issue in our application, so I'm closing the issue.

> The SFTP Provider Should Use Daemon Threads
> -------------------------------------------
>
>                 Key: VFS-211
>                 URL: https://issues.apache.org/jira/browse/VFS-211
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.1, 2.0
>            Reporter: James Carman
>            Assignee: James Carman
>             Fix For: 2.0
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> In a simple connect and list the contents example, it never terminates since JSch fires up a "keep alive" thread and doesn't mark it as daemon.  You can tell JSch to make that thread a daemon thread by calling setDaemonThread(true) on the Session.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.