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 » Reason 2026

Post new topic  Reply to topic
 Reason 2026 « View previous topic :: View next topic » 
Author Message
rasad74
PostPosted: Mon Nov 05, 2001 8:37 am    Post subject: Reply with quote

Novice

Joined: 29 Oct 2001
Posts: 10

When I run my MQJMS program using JNDI, I get the following error. Anyone seen that one before? Any help is apreciated.

Exception occurred: javax.jms.JMSException: MQJMS3013: Failed to store
admin. entry
Exception error code is: MQJMS3013
Linked Exception: com.ibm.mq.MQException: An MQ Exception occurred: Co
mpletion Code 2, Reason 2026

Thanks,
Rehan
Back to top
View user's profile Send private message Send e-mail MSN Messenger
rasad74
PostPosted: Mon Nov 05, 2001 8:45 am    Post subject: Reply with quote

Novice

Joined: 29 Oct 2001
Posts: 10

Hi
I looked into the Application programming reference for error # 2026 and it say "Message Descriptor is not valid" and I have no idea what is that suppose to mean.

Here is a code snippet:

try
{
opicSession = topicConnection.createTopicSession(false,
Session.AUTO_ACKNOWLEDGE);
topicSubscriber =
// blows up right here and unable to create
// a subscriber
topicSession.createSubscriber(topic);
System.out.println("Topic subscriber has been created");

Any clues?

Thanks
Rehan
Back to top
View user's profile Send private message Send e-mail MSN Messenger
msiegert
PostPosted: Tue Nov 06, 2001 12:50 am    Post subject: Reply with quote

Apprentice

Joined: 05 Aug 2001
Posts: 29

Hi Rehan!
Here is a complete description of your error. This might help.
http://www-4.ibm.com/software/ts/mqseries/library/manualsa/amqzao/amqzao0m.htm#Header_32


MQRC_MD_ERROR
Message descriptor not valid.

MQMD structure is not valid. Either the StrucId mnemonic eye-catcher is not valid, or the Version is not recognized.

This reason also occurs if:


The parameter pointer is not valid. (It is not always possible to detect parameter pointers that are not valid; if not detected, unpredictable results occur.)

The queue manager cannot copy the changed structure to application storage, even though the call is successful. This can occur, for example, if the pointer points to read-only storage.
Corrective action: Correct the definition of the message descriptor. Ensure that required input fields are correctly set.

regards Marc
Back to top
View user's profile Send private message
kolban
PostPosted: Wed Jan 02, 2002 4:11 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

After a lot of digging, this problem is caused by not setting the setBaseTopicName() property on the MQTopic object.
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 » Reason 2026
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.