Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

MQ: MQException: Completion Code 2, Reason 2033

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 2108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One possible reason for 2033 is timeout.
 
Marshal
Posts: 27291
87
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
with waitInterval = 100000... does not work.
I think the problem is not in timeout.

Any other ideas?
 
Paul Clapham
Marshal
Posts: 27291
87
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Marshal
Posts: 27291
87
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And then there's this answer from this very forum 2 1/2 years ago.
 
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:



 
reply
    Bookmark Topic Watch Topic
  • New Topic