jsch-users

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [JSch-users] [sftp] How to close a connection/session correctly? COHEN, STEVEN M (ATTSI) Mon Jun 08 16:00:36 2009

I too, would like an answer to Mr Grimm's question:

What's the RIGHT way to close the session properly?  Must you disconnect the
connection and then the session, can you simply close the session, or what?
This question can surely be answered by the developers without requiring the
users to do diagnostic thread dumps. 

-----Original Message-----
From: Atsuhiko Yamanaka [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 08, 2009 2:35 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [JSch-users] [sftp] How to close a connection/session
correctly?

Hi,

   +-From: "Grimm, Markus" <[EMAIL PROTECTED]> --
   |_Date: Mon, 8 Jun 2009 08:03:54 +0200 ____
   |
   |Maybe I do a mistake to close the session properly.
   |What's the right way to avoid such waiting threads ?

Can you get the thread dump to know which threads are running?
For example, on unices,
  kill -3 pid


Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
    +1-415-578-3454
Skype callto://jcraft/

----------------------------------------------------------------------------
--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
JSch-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jsch-users
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
JSch-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jsch-users