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 » error message help!

Post new topic  Reply to topic
 error message help! « View previous topic :: View next topic » 
Author Message
bigmq
PostPosted: Fri Sep 24, 2004 5:21 am    Post subject: error message help! Reply with quote

Novice

Joined: 14 Sep 2004
Posts: 19

HI, all
i downloaded one of the sample codes from this forum which is mqbrowse, and i tried to run at the IBM WebSphere MQ for linux V5.3, but i got the error message as follows:

MQJE001: Completion Code 2, Reason 2058
MQ exception: CC = 2 RC = 2058

Can someone help me what these messages mean, and how do i get the information about the error message when i run the mq java program.

Thanks a million!
Back to top
View user's profile Send private message
JLRowe
PostPosted: Fri Sep 24, 2004 5:35 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

Have you done a search for 'Reason 2058' on this forum?

or are you just leeching off people's karma?
Back to top
View user's profile Send private message Send e-mail
bigmq
PostPosted: Fri Sep 24, 2004 10:43 am    Post subject: Reply with quote

Novice

Joined: 14 Sep 2004
Posts: 19

Thanks anyway, i figure it out myself.
But now i am getting reason code 2033 even though i already put some message into the queue. Do u know why?
Thx
Back to top
View user's profile Send private message
vennela
PostPosted: Fri Sep 24, 2004 10:44 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

What are the options you specified on the OPEN and on the GET?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bigmq
PostPosted: Fri Sep 24, 2004 10:48 am    Post subject: Reply with quote

Novice

Joined: 14 Sep 2004
Posts: 19

openoptions is MQC.MQOO_INPUT_EXCLUSIVE | MQC.MQOO_BROWSE
getMessageoptions is MQC.MQGMO_WAIT | MQC.MQGMO_BROWSE_FIRST

Thx
Back to top
View user's profile Send private message
vennela
PostPosted: Fri Sep 24, 2004 11:18 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Can you verify if there are messages on the queue by issuing amqsbcg
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bigmq
PostPosted: Fri Sep 24, 2004 12:34 pm    Post subject: Reply with quote

Novice

Joined: 14 Sep 2004
Posts: 19

Hi, vennela
Yes, i figure it out, thanks
here is another question, can i send a file into queue, like a xml file?
Back to top
View user's profile Send private message
siliconfish
PostPosted: Fri Sep 24, 2004 1:33 pm    Post subject: Reply with quote

Master

Joined: 12 Aug 2002
Posts: 203
Location: USA

use rfhutil.exe
Back to top
View user's profile Send private message
siliconfish
PostPosted: Fri Sep 24, 2004 1:35 pm    Post subject: Reply with quote

Master

Joined: 12 Aug 2002
Posts: 203
Location: USA

u can also use MA01: WebSphere MQ - Q program
Back to top
View user's profile Send private message
vennela
PostPosted: Fri Sep 24, 2004 1:48 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Quote:
here is another question, can i send a file into queue, like a xml file?

Well the above two posts are ways of doing it.
I read the question differently though.
You can definitely send a file as a message to a queue. Whatever format your file maybe, you can put. After you do the get you will have to reconstruct it back.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » error message help!
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.