-
Java app on Windows: ssh.exe hangs if connection unsuccessful
Hi Everyone,
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.
Susan
Similar Threads
-
By Rob Abbe in forum Talk to the Editors
Replies: 44
Last Post: 01-13-2003, 02:57 PM
-
By Mike Tsakiris in forum .NET
Replies: 11
Last Post: 10-04-2002, 05:32 PM
-
By Dharmesh in forum .NET
Replies: 4
Last Post: 10-01-2001, 03:47 PM
-
By H. Wilson in forum Java
Replies: 6
Last Post: 04-14-2000, 11:25 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|