Hi, recently i developed a java program that use jt400 to connect to a dataqueue in AS400.
Here is part of the code
I got this problem.... the program seems to be running quite well in a few hours.. After a few hours the program seem do not work anymore and i dun get any exception messages from the catch statement.
this program run on a pc that have different IP range with the AS400... i do not know whether this is the causes and i really appreciate if anyone can share their experience with me on this problem.
AS400 IP - 10.0.59.11
Java Program IP - 10.0.51.38
thanks
Here is part of the code
PHP Code:
try {
do {
//Receive Data Queue
//dqe = Data Queue Entry
//dq = dataqueue
dqe = dq.read(-1);
if(dqe != null){
//Start Process
}
} while(true) ;
} catch(Exception ex) {
//Write to a file (ex.message)
}
I got this problem.... the program seems to be running quite well in a few hours.. After a few hours the program seem do not work anymore and i dun get any exception messages from the catch statement.
this program run on a pc that have different IP range with the AS400... i do not know whether this is the causes and i really appreciate if anyone can share their experience with me on this problem.
AS400 IP - 10.0.59.11
Java Program IP - 10.0.51.38
thanks
Comment