I found strange behavior when using the read () method provided by the JTOpen KeyedDataQueue class.
I set a timeout of 90 s and 99% of the read completion, when the timeout is reached, my call method execution resumes.
As for the remaining 1%, the wait time is not counted / reached, and my call method remains cherry ...
After some searching, I found this message:
http://archive.midrange.com/java400-l/201112/msg00056.html
This basically confirms what I suspected:
"I also found that the ServerQuest timeout function DataQueue.read () was on the server side, so if the TCP / IP connection is quietly disconnecting (which I believe is the main reason for this), it will still hang."
I am using version 7.2 of JTOpen and I understand that version 7.9 already exists. I have not upgraded to 7.9 because I have many critical applications with 7.2 that are stable and this is really the first real scenario that forces me to consider upgrading to 7.9.
To help me in this decision, I would really like your feedback, especially from those of you who have encountered this situation and ultimately resolved it by updating JTOpen.
In particular, are there any workarounds for this issue, and does JTOpen help update? Will updating JTOpen to 7.9 break everything that works in 7.2?
source share