× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm encountering a strange ssh problem that I just can't quite figure
out.

Below desc what I'm doing:
I've writen a simple java program that uses java Runtime to run a Putty
plink command (Note:plink command is equivalent of ssh command in
openSSH). It works fine when I run it on my PC as stand alone java apps
and it also work fine when I run it in a servlet. However, when my
co-worker run it. It works when she run it as a stand alone java apps
but it failed (hung) when she run it in a servlet, which run in a
Websphere 6.1 server.

When I did a netstat on iseries, I see this:
Opt Address Port Port Idle Time State
10.50.16.82 3440 ssh 000:03:11 FIN-wait-2


When she did a netstat on her PC, she see this:
TCP 10.50.16.82:3440 10.100.50.14:22 CLOSE_WAIT
3020



It seems like her PC is wait on something from iseries ssh server and
the iseries ssh server is waiting for her pc for something. The
puzzling part is that it works fine when she run it as a stand alone
java app.






As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.