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 » WebSphere Message Broker (ACE) Support » MQRC 2142

Post new topic  Reply to topic
 MQRC 2142 « View previous topic :: View next topic » 
Author Message
Sam Uppu
PostPosted: Wed Mar 10, 2010 9:19 am    Post subject: MQRC 2142 Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

Hi Guys,

I am trying to put an XML message to a queue and it throws me error 2142 -Failed to put message.

I checked the MQMD and it is correct. I have even comented the MQMD header section to insert the message with default header. It throws me the same error.

I am using WMB 6.1 on AIX.

The exception list is captured and is below

(0x03000000:NameValue):File = '/build/S610_P/src/DataFlowEngine/ImbMqOutputNode.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 910 (INTEGER)
(0x03000000:NameValue):Function = 'ImbMqOutputNode::evaluate' (CHARACTER)
(0x03000000:NameValue):Type = 'ComIbmMQOutputNode' (CHARACTER)
(0x03000000:NameValue):Name = 'BCG1000_INSURANCE#FCMComposite_1_2' (CHARACTER)
(0x03000000:NameValue):Label = 'BCG1000_INSURANCE.OUT_Q' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPv610' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 2230 (INTEGER)
(0x03000000:NameValue):Text = 'Caught exception and rethrowing' (CHARACTER)
(0x01000000:Name ):MessageException = (
(0x03000000:NameValue):File = '/build/S610_P/src/DataFlowEngine/ImbMqOutputNode.cpp' (CHARACTER)
(0x03000000:NameValue):Line = 2335 (INTEGER)
(0x03000000:NameValue):Function = 'ImbMqOutputNode::putMessage' (CHARACTER)
(0x03000000:NameValue):Type = 'ComIbmMQOutputNode' (CHARACTER)
(0x03000000:NameValue):Name = 'BCG100_INSURANCE#FCMComposite_1_2' (CHARACTER)
(0x03000000:NameValue):Label = 'BCG1000_INSURANCE.OUT_Q' (CHARACTER)
(0x03000000:NameValue):Catalog = 'BIPv610' (CHARACTER)
(0x03000000:NameValue):Severity = 3 (INTEGER)
(0x03000000:NameValue):Number = 2667 (INTEGER)
(0x03000000:NameValue):Text = 'Failed to put message' (CHARACTER)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 2 (INTEGER)
(0x03000000:NameValue):Text = '-1' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'MQW102' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 2 (INTEGER)
(0x03000000:NameValue):Text = '2142' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = '' (CHARACTER)
)
(0x01000000:Name ):Insert = (
(0x03000000:NameValue):Type = 5 (INTEGER)
(0x03000000:NameValue):Text = 'IVRGTWY_DATA_IN' (CHARACTER)
)
)
)
)

Pls help me..
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 10, 2010 9:28 am    Post subject: Re: MQRC 2142 Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Sam Uppu wrote:
Pls help me..


Please put this sort of thing in code tags to make it easier to read!

Put a Trace node directly before the message is output and confirm it looks as you expect. Check especially that the MQMD is in front of the message body (seriously - I've seen code that didn't ensure that!)
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Wed Mar 10, 2010 10:12 am    Post subject: Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

Thanks Vitor. The issue is with MQMD which was repeating twice. I have commented it out. It works fine now.
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 » WebSphere Message Broker (ACE) Support » MQRC 2142
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.