× 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 do believe it is a documented issue that the Connection api is not so robust in discovering when a connection is lost. One way around this for now is to not have the DtaQ api wait forever. Have it wait for a specified amount of time. When that time is up, you can add logic to drop the connection and then re-establish it. Not ideal, but it works.

-- Scott

Mike Burdette wrote:
Hi:

I wrote a quick and dirty Java PGM that runs on our iSeries server. The PGM establishes a connection via VPN to our customers iSeries and watches a data queue there for entries.

My problem is that, when the connection drops during an IPL, or otherwise, I have to stop and start the app. I would like for it to be smart enough to detect a dropped connection and re-establish itself.

And ideas on the best way to do this?

Thanks in advance.

Mike


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.