ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ EOFException

Post new topic  Reply to topic
 MQ EOFException « View previous topic :: View next topic » 
Author Message
erichan
PostPosted: Tue Nov 22, 2005 2:18 am    Post subject: MQ EOFException Reply with quote

Newbie

Joined: 22 Nov 2005
Posts: 2

when i try to receive a q ,it happens such a problem like this :

java.io.EOFException

at com.ibm.mq.MQMessage.readConvertedString(MQMessage.java:828)

at com.ibm.mq.MQMessage.readString(MQMessage.java:785)

at com.auo.facs.util.MqSender.receiveMessage(MqSender.java:187)

at com.auo.facs.util.MqSender.receiveMessage(MqSender.java:157)


could anybody tell me what may occur such problem? Is the q string is to long ,or it has invalidate char ?

wait online ~~~~thanks
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Nov 22, 2005 8:13 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I'd suggest browsing the queue with amqsbcg to look at the message. It may not be in the correct format as specified in the MQMD or you may be trying to read it in the wrong message format. Browsing should help show what might be wrong.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
EddieA
PostPosted: Tue Nov 22, 2005 9:15 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Two in the same day.

Please answer the same question.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
erichan
PostPosted: Tue Nov 22, 2005 5:25 pm    Post subject: Reply with quote

Newbie

Joined: 22 Nov 2005
Posts: 2

if the q has chinses string , when it executes com.ibm.mq.MQMessage.readConvertedString ,will it happens such a prodblem.

i found that ,when the q has chinese string ,it always happens such a exception~~

Is there any way to resolve it ~~
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Nov 22, 2005 11:43 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Yes. Grab the latest MQ Java Client.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ EOFException
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.