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



Your right the exception is ignored, but I'm not even getting the chance to ignore it on the i5. In WDSC the exception is ignored and the next iteration of the loop checks a close down flag and shuts the server down.

Some googling has suggested that certain JVM's also don't throw InterruptionExceptions in certain circumstances (when they should), Reading from standard input etc...

I think I am going to have to forget interruption and do something a bit more drastic to get the servers attention.... :)

---- Original message ----
Date: Thu, 13 Nov 2008 22:47:56 +0100
From: java400-l-bounces@xxxxxxxxxxxx (on behalf of Thorbjørn Ravn Andersen <ravn@xxxxxxxxxx>)
Subject: Re: Threads problem in Java on i5
To: Java Programming on and around the iSeries / AS400 <java400-l@xxxxxxxxxxxx>

Neill.Harper@xxxxxxxx skrev:
Hi Thorbjørn

I don't have access to the code from home as I am just the tea boy :).

I'll email a full example tomorrow, but the basic gist of the code is as follows:


Ah, it is some InterruptException trickery. Always fun.

You may want to read
http://www-128.ibm.com/developerworks/java/library/j-jtp05236.html

I note from a quick glimpse that you swallow an interruptexception in
the server code. I'd have a close look at that :)

/Thorbjørn
--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.