Posted: Fri Nov 18, 2005 1:14 pm Post subject: Workflow UPES Error
Apprentice
Joined: 29 Dec 2002 Posts: 25
We are using MQworkflow 3.5 in solaris.
We occasionally get the below EOF errors while browsing from our UPES Queue defined in Workflow QueueManager
java.io.EOFException
at com.ibm.mq.MQMessage.readConvertedString(MQMessage.java:1943)
at com.ibm.mq.MQMessage.readString(MQMessage.java:960)
at com.jpmorgan.cc.common.utils.workflowmanager.QueueAdapter.browseMessage(QueueAdapter.java:192)
The code snippet doing the read is below
browseMsgOptions = new MQGetMessageOptions();
browseMsgOptions.options = MQC.MQGMO_NO_WAIT | MQC.MQGMO_BROWSE_NEXT;
MQMessage retrievedMessage = new MQMessage();
queue.get(retrievedMessage, browseMsgOptions);
message = retrievedMessage.readString(retrievedMessage.getMessageLength());
Question:
Will the EOFException during queue browse occur due to a smaller message buffer size in the queue or channel. Our current settings are
qmgr maxmsgl(4194304)
qlocal(EXCINPUTQ) maxmsgl(4194304)
channel (FMCQM.CL.TCP) chltype(SVRCONN) maxmsgl(9999999)
channel (FMCQM.CL.TCP) chltype(CLNTCONN) maxmsgl(9999999) _________________ Prash
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum