• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MQ: MQException: Completion Code 2, Reason 2033

 
Vadim Prudnikov
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. Can you help me with the problem?
I create MQQueueManager, send message and try to receive.
Exception occurs on a message receiving (MQQueue.get).

This is a code parts (i don't show exception catching):


queue.get(message, gmo); throws an exception.
Help please what parameters are wrong?
Many Thanks.
 
Jesus Angeles
Ranch Hand
Posts: 2068
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One possible reason for 2033 is timeout.
 
Paul Clapham
Sheriff
Posts: 20990
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Vad Pr", could you please review the JavaRanch name policy? In particular it says you must use a real name as your display name. You can change your display name here. Thank you for your cooperation.
 
Vadim Prudnikov
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
with waitInterval = 100000... does not work.
I think the problem is not in timeout.

Any other ideas?
 
Paul Clapham
Sheriff
Posts: 20990
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I googled for that error message and found another answer on a different mailing list. It may or may not apply to your situation.
 
Paul Clapham
Sheriff
Posts: 20990
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And then there's this answer from this very forum 2 1/2 years ago.
 
Yogesh Gandhi
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am also facing the similar problem.

I have written two more functions:



Only difference in the two functions is that queueName is being changed.
But I get a message 2033 when reading from Enquiry Queue, while the same code works perfectly fine in case of Request Queue.

Can anyone give me a clue, what could be the possible reason for such a behavior.


The function readMQMessage uses the following options:



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic