|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Reason 2026 |
« View previous topic :: View next topic » |
Author |
Message
|
rasad74 |
Posted: Mon Nov 05, 2001 8:37 am Post subject: |
|
|
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 |
|
 |
rasad74 |
Posted: Mon Nov 05, 2001 8:45 am Post subject: |
|
|
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 |
|
 |
msiegert |
Posted: Tue Nov 06, 2001 12:50 am Post subject: |
|
|
 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 |
|
 |
kolban |
Posted: Wed Jan 02, 2002 4:11 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|