Java app on Windows: ssh.exe hangs if connection unsuccessful
I've been trying to find a solution to my problem on the web, but have been unsuccessful so far. I'm hoping someone here may have seen this problem before and know the answer...
My java application runs on Unix and Windows, but the problem is specific to Windows. The app occasionally is asked to connect to a remote server (UNIX) using RSH or SSH to run a command. If the app tries to establish an SSH connection to a remote server and fails, the ssh.exe process continues to run (as seen in task manager). I then need to stop the process in the task manager to remove it.
If the SSH connection is successful and my application is able to execute a command on the remote system, the ssh.exe process stops on its own. This would be the desired behavior for a failed connection.
We have seen this problem using SFU and using CYGWIN.
Is this a Windows issue or a JRE issue? If it's a JRE issue, then I need to figure out how to code to solve the problem.
Thanks for any help you can throw my way.
By Rob Abbe in forum Talk to the Editors
Last Post: 01-13-2003, 02:57 PM
By Mike Tsakiris in forum .NET
Last Post: 10-04-2002, 05:32 PM
By Dharmesh in forum .NET
Last Post: 10-01-2001, 03:47 PM
By H. Wilson in forum Java
Last Post: 04-14-2000, 11:25 AM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center