Hello everyone... 
I get this weird exception when I try to create a channel to Exec a command on 
the server:

com.jcraft.jsch.JSchException: session is down

I only get this on some computers, after 5-6 successful command executions, 
every time I run my program.
On the computers that don't get the exception, it works properly every single I 
run the program.

Computers are on the same network, same java runtime (1.6 same build 
1.6.0_07-b06), more or less the same applications installed.


The session is passed from the Main JFrame to the Login JInternalFrame where 
the session is associated with the proper host, user, pass, port and is 
connected. When the user clicks a toolbar button, a new Thread is created with 
the session parameter to Exec something on the server. As I said before, this 
works on some computers every single time and throws an exception on some 
computers every single time.


Do any of you have any ideas why this might happen? 

PS: It seems that the SourceForge mailing list is not returning any search 
results for ANY terms.. weird



 

_________________________________________________________________
If you like crossword puzzles, then you'll love Flexicon, a game which combines 
four overlapping crossword puzzles into one!
http://g.msn.ca/ca55/208
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to