× 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.



Hi,

I hava a Java program running in WebSphere that reads and writes
continuously to a iSeries DataQueue through the jt400 classes.
When the iSeries is IPL'd, i want the Java program to stay alive and
continue when the iSeries is up and running. To achieve this, 
I handled the ConnectionDroppedException. However, sometimes
java.netConnectException is fired instead of the ConnectionDropped
Exception. So I handle them both and perfom a retry in either case. In case
of the connectException, this works, but whenever the
ConnectionDroppedException is thrown, the program stops reading and writing,
without terminating the Java process. to start reading
and writing again I have to restart the Java app.
So my problem is that the behaviour is not entirely predictable concerning
the Exception that is thrown after an IPL.

Does anybody have a robust way to handle this?

Jeroen de Wolf

W2K
WSDC5.0
iSeries 4.5


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.