Author |
Message
|
nilayms |
Posted: Wed Aug 08, 2007 12:28 am Post subject: problem in my message flow. |
|
|
Apprentice
Joined: 01 Jun 2006 Posts: 31 Location: UK
|
I am trying to develop a message flow which pics up xml messages from a queue and then a database node inserts the information into an oracle database on a remote server. I am using MQ v6.0 and WBIMB v6.0. Also we are using DB2 for the local databse. I have done the changes to the odbc.ini file and also updated the LIBPATH variable.
When i try to put the message on the queue it goes to the failure queue with the following error :
===========================
-- Begin Failure Message:--
===========================
Date/Time is: 2007-08-08 09:12:54.146582
Exception is:
------------
(
(0x01000000):RecoverableException = (
(0x03000000):File = '/build/S000_P/src/DataFlowEngine/ImbMqInputNode.cpp'
(0x03000000):Line = 1768
(0x03000000):Function = 'ImbCommonInputNode::eligibleForBackout'
(0x03000000):Type = 'ComIbmMQInputNode'
(0x03000000):Name = 'ACCOUNT_POC#FCMComposite_1_1'
(0x03000000):Label = 'ACCOUNT_POC.MQInput'
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 2652
(0x03000000):Text = 'Dequeued failed message. Propagating a message to the failure terminal'
)
)
Message is:
-----------
(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1208
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = TRUE
(0x03000000):CreationTime = GMTTIMESTAMP '2007-08-08 08:12:47.720'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = ''
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'BROKER_INPUT'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1208
(0x03000000):Format = 'MQSTR '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 8
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 1
(0x03000000):MsgId = X'414d5120514d5f4d51495f4445565f30456a7ed72003d102'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 1
(0x03000000):ReplyToQ = ' '
(0x03000000):ReplyToQMgr = 'QM_MQI_DEV_0A '
(0x03000000):UserIdentifier = 'sundarn '
(0x03000000):AccountingToken = X'0000000000000000000000000000000000000000000000000000000000000000'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 28
(0x03000000):PutApplName = 'WebSphere MQ Client for Java'
(0x03000000):PutDate = DATE '2007-08-08'
(0x03000000):PutTime = GMTTIME '08:12:47.720'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000010):XML = (
(0x01000000):Create_Customer_Account_MSG = (
(0x01000000):Personal_Details = (
(0x01000000):First_Name = (
(0x02000000): = 'Peter'
)
(0x01000000):Last_Name = (
(0x02000000): = 'Smith'
)
(0x01000000):User_ID = (
(0x02000000): = 'PSmith'
)
(0x01000000):Password = (
(0x02000000): = 'p45sw0rd'
)
)
(0x01000000):Email_Address = (
(0x02000000): = 'Peter.Smith@nowhere.com'
)
(0x01000000):Daytime_Telephone = (
(0x02000000): = '1234567890'
)
(0x01000000):Evening_Telephone = (
(0x02000000): = '1234567890'
)
(0x01000000):Shipping_Address = (
(0x01000000):Address_1 = (
(0x02000000): = '19 Green Street'
)
(0x01000000):Address_2 = (
(0x02000000): = 'Littleton>'
)
(0x01000000):Town = (
(0x02000000): = 'Southington'
)
(0x01000000):Postcode = (
(0x02000000): = 'SU29 8YT'
)
)
(0x01000000):Billing_Address = (
(0x01000000):Address_1 = (
(0x02000000): = '19 Green Street'
)
(0x01000000):Address_2 = (
(0x02000000): = 'Littleton>'
)
(0x01000000):Town = (
(0x02000000): = 'Southington'
)
(0x01000000):Postcode = (
(0x02000000): = 'SU29 8YT'
)
)
(0x01000000):Payment_Details = (
(0x01000000):Card = (
(0x02000000): = 'VISA'
)
(0x01000000):Card_Number = (
(0x02000000): = '1234567890'
)
(0x01000000):Expiry_Date = (
(0x02000000): = '2009-09-12'
)
(0x01000000):Issue_Date = (
(0x02000000): = '2009-09-12'
)
(0x01000000):Issue_Number = (
(0x02000000): = '02'
)
(0x01000000):Security_Code = (
(0x02000000): = '333'
)
)
)
)
)
=========================
-- End Failure Message:--
=========================
[img][/img][img][/img] _________________ Regards,
Nilay. |
|
Back to top |
|
 |
nilayms |
Posted: Wed Aug 08, 2007 12:29 am Post subject: |
|
|
Apprentice
Joined: 01 Jun 2006 Posts: 31 Location: UK
|
Can someone please help and tell me what can be done in this case??? _________________ Regards,
Nilay. |
|
Back to top |
|
 |
elvis_gn |
Posted: Wed Aug 08, 2007 1:16 am Post subject: Re: problem in my message flow. |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi nilayms,
nilayms wrote: |
Exception is:
------------
(
(0x01000000):RecoverableException = (
(0x03000000):File = '/build/S000_P/src/DataFlowEngine/ImbMqInputNode.cpp'
(0x03000000):Line = 1768
(0x03000000):Function = 'ImbCommonInputNode::eligibleForBackout'
(0x03000000):Type = 'ComIbmMQInputNode'
(0x03000000):Name = 'ACCOUNT_POC#FCMComposite_1_1'
(0x03000000):Label = 'ACCOUNT_POC.MQInput'
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 2652
(0x03000000):Text = 'Dequeued failed message. Propagating a message to the failure terminal'
)
) |
This is not the complete or relevant exception...Please paste the innermost exception tree....
Regards. |
|
Back to top |
|
 |
nilayms |
Posted: Wed Aug 08, 2007 3:17 am Post subject: |
|
|
Apprentice
Joined: 01 Jun 2006 Posts: 31 Location: UK
|
When i dont have a failure node themessage goes to the dead letter queue.....with the reason MQFB_APPL_FIRST........
I dont know how to get more detailed excceptions.........the broker we are using to deploy the message flows is on a AIX remote server.......can you tell me how to get more detailed info on exception??? _________________ Regards,
Nilay. |
|
Back to top |
|
 |
elvis_gn |
Posted: Wed Aug 08, 2007 3:54 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi nilayms,
I only meant that the snippet of the exceptionlist that you have pasted is not complete...there will be little more below...perhaps you should something like RFHUtil to get the entire exceptionlist and paste the bottom most section here...
Regards. |
|
Back to top |
|
 |
nilayms |
Posted: Wed Aug 08, 2007 5:01 am Post subject: |
|
|
Apprentice
Joined: 01 Jun 2006 Posts: 31 Location: UK
|
Does this help : ----
Another log that i got on the log file :
===========================
-- Begin Failure Message:--
===========================
Date/Time is: 2007-08-06 17:35:58.233026
Exception is:
------------
(
(0x01000000):RecoverableException = (
(0x03000000):File = '/build/S000_P/src/DataFlowEngine/ImbMqInputNode.cpp'
(0x03000000):Line = 1768
(0x03000000):Function = 'ImbCommonInputNode::eligibleForBackout'
(0x03000000):Type = 'ComIbmMQInputNode'
(0x03000000):Name = 'ACCOUNT_POC#FCMComposite_1_1'
(0x03000000):Label = 'ACCOUNT_POC.MQInput'
(0x03000000):Catalog = 'BIPv600'
(0x03000000):Severity = 3
(0x03000000):Number = 2652
(0x03000000):Text = 'Dequeued failed message. Propagating a message to the failure terminal'
)
)
Message is:
-----------
(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1208
(0x03000000):Transactional = TRUE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2007-08-06 16:35:49.330'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'MQ'
(0x03000000):Topic = NULL
(0x03000000):ContentType = ''
)
(0x01000000):MQMD = (
(0x03000000):SourceQueue = 'BROKER_INPUT'
(0x03000000):Transactional = TRUE
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1208
(0x03000000):Format = 'MQSTR '
(0x03000000):Version = 2
(0x03000000):Report = 0
(0x03000000):MsgType = 8
(0x03000000):Expiry = -1
(0x03000000):Feedback = 0
(0x03000000):Priority = 0
(0x03000000):Persistence = 0
(0x03000000):MsgId = X'414d5120514d5f4d51495f4445565f30456a7ed720032802'
(0x03000000):CorrelId = X'000000000000000000000000000000000000000000000000'
(0x03000000):BackoutCount = 1
(0x03000000):ReplyToQ = ' '
(0x03000000):ReplyToQMgr = 'QM_MQI_DEV_0A '
(0x03000000):UserIdentifier = 'sundarn '
(0x03000000):AccountingToken = X'0000000000000000000000000000000000000000000000000000000000000000'
(0x03000000):ApplIdentityData = ' '
(0x03000000):PutApplType = 28
(0x03000000):PutApplName = 'WebSphere MQ Client for Java'
(0x03000000):PutDate = DATE '2007-08-06'
(0x03000000):PutTime = GMTTIME '16:35:49.330'
(0x03000000):ApplOriginData = ' '
(0x03000000):GroupId = X'000000000000000000000000000000000000000000000000'
(0x03000000):MsgSeqNumber = 1
(0x03000000):Offset = 0
(0x03000000):MsgFlags = 0
(0x03000000):OriginalLength = -1
)
(0x01000000):BLOB = (
(0x03000000):UnknownParserName = 'MQSTR'
(0x03000000):BLOB = X'3c4372656174655f437573746f6d65725f4163636f756e745f4d53473e3c506572736f6e616c5f44657461
696c733e3c46697273745f4e616d653e50657465723c2f46697273745f4e616d653e3c4c6173745f4e616d653e536d6974683c2f4c6173745f4e616d653e3
c557365725f49443e50536d6974683c2f557365725f49443e3c50617373776f72643e70343573773072643c2f50617373776f72643e3c2f506572736f6e61
6c5f44657461696c733e3c456d61696c5f416464726573733e50657465722e536d697468406e6f77686572652e636f6d3c2f456d61696c5f4164647265737
33e3c44617974696d655f54656c6570686f6e653e313233343536373839303c2f44617974696d655f54656c6570686f6e653e3c4576656e696e675f54656c
6570686f6e653e313233343536373839303c2f4576656e696e675f54656c6570686f6e653e3c5368697070696e675f416464726573733e3c4164647265737
35f313e313920477265656e205374726565743c2f416464726573735f313e3c416464726573735f323e4c6974746c65746f6e3e3c2f416464726573735f32
3e3c546f776e3e536f757468696e67746f6e3c2f546f776e3e3c506f7374636f64653e53553239203859543c2f506f7374636f64653e3c2f5368697070696
e675f416464726573733e3c42696c6c696e675f416464726573733e3c416464726573735f313e313920477265656e205374726565743c2f41646472657373
5f313e3c416464726573735f323e4c6974746c65746f6e3e3c2f416464726573735f323e3c546f776e3e536f757468696e67746f6e3c2f546f776e3e3c506
f7374636f64653e53553239203859543c2f506f7374636f64653e3c2f42696c6c696e675f416464726573733e3c5061796d656e745f44657461696c733e3c
436172643e564953413c2f436172643e3c436172645f4e756d6265723e313233343536373839303c2f436172645f4e756d6265723e3c4578706972795f446
174653e323030392d30392d31323c2f4578706972795f446174653e3c49737375655f446174653e323030392d30392d31323c2f49737375655f446174653e
3c49737375655f4e756d6265723e30323c2f49737375655f4e756d6265723e3c53656375726974795f436f64653e3333333c2f53656375726974795f436f6
4653e3c2f5061796d656e745f44657461696c733e3c2f4372656174655f437573746f6d65725f4163636f756e745f4d53473e'
)
)
=========================
-- End Failure Message:--
========================= _________________ Regards,
Nilay. |
|
Back to top |
|
 |
nilayms |
Posted: Wed Aug 08, 2007 5:03 am Post subject: |
|
|
Apprentice
Joined: 01 Jun 2006 Posts: 31 Location: UK
|
i set the message domain to 'XML' after i got this one.........after that when i tried putting the message i was getting the log that i pasted earlier... _________________ Regards,
Nilay. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 08, 2007 5:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Well, don't use the XML Domain.
Also, the last time someone posted an error with "Dequeued failed message", it was because they had connected something to the failure terminal of the MQInput node.
At which point, it's too late to trace and find out what went wrong.
Which is why best practices are to connect the CATCH terminal and not the failure terminal.
There are probably other error messages in the system log of the broker that will tell you what is going wrong. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
nilayms |
Posted: Wed Aug 08, 2007 8:08 am Post subject: |
|
|
Apprentice
Joined: 01 Jun 2006 Posts: 31 Location: UK
|
if not XML then which domain should i use...
Also i removed the failure terminal of the input node to the failure node.
the looks like :
|-------FAILURE Node-----LOG node
INPUT --------DATABASE NODE ------|
|-------OUTPUT NODE.
Now the messages are geeting stuck in the input queue itself.
I am a bit lost now.
Can anyone help me with this? _________________ Regards,
Nilay. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 08, 2007 8:11 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Use XMLNS, or XMLNSC.
Connect your Failure/Log to the Catch terminal.
Look at the system log on the broker for more errors.
Enable user or debug trace, and look at that. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
nilayms |
Posted: Wed Aug 08, 2007 8:31 am Post subject: |
|
|
Apprentice
Joined: 01 Jun 2006 Posts: 31 Location: UK
|
-----------------
----------------------------- Stack dump for current thread ( 3111)
(0xdf907738+0x00000000) <no name available> [/opt/IBM/mqsi/6.0/lib/libodbc.a(odbc.so)]
(0xdf928908+0x00000000) <no name available> [/opt/IBM/mqsi/6.0/lib/libodbc.a(odbc.so)]
(0xdf946eec+0x00000000) <no name available> [/opt/IBM/mqsi/6.0/lib/libodbc.a(odbc.so)]
(0xdf8e84bc+0x00000000) <no name available> [/opt/IBM/mqsi/6.0/lib/libodbc.a(odbc.so)]
(0xdf8e7f24+0x00000000) <no name available> [/opt/IBM/mqsi/6.0/lib/libodbc.a(odbc.so)]
(0xdf8e8c88+0x00000000) <no name available> [/opt/IBM/mqsi/6.0/lib/libodbc.a(odbc.so)]
(0xdf8f4244+0x00000000) <no name available> [/opt/IBM/mqsi/6.0/lib/libodbc.a(odbc.so)]
i found this in one of the log files at /var/mqsi/common/errors/ on the AIX box
does this tell what the problem can be? _________________ Regards,
Nilay. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 08, 2007 8:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
That's not the system log.
You need to look at whatever log file that the system admin has configured to receive user messages. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
nilayms |
Posted: Wed Aug 08, 2007 8:42 am Post subject: |
|
|
Apprentice
Joined: 01 Jun 2006 Posts: 31 Location: UK
|
Removed 'DLQ' from the backout requeue name of the input queue.
Now the messages go to the dead letter queue with the reason 'MQFB_APPL_FIRST'.
Not sure why this is happening? _________________ Regards,
Nilay. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 08, 2007 8:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You need to stop making random changes.
You need to start gathering information.
This is done by reading logs.
And then, perhaps, doing other things to gather more information.
You should have read the following section of the InfoCenter already. You should probably be reading it, pretty constantly, right now.
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/au03830_.htm
In particular, you should be looking at "Using Logs" and "Using Trace".
There is nothing really different about developing message flows than there is about developing in any other kind of programming environment. You have to know how to debug. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Aug 08, 2007 1:08 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
nilayms wrote: |
Now the messages go to the dead letter queue with the reason 'MQFB_APPL_FIRST'.
Not sure why this is happening? |
Because when the message flow abends and has nowhere to put the failing message, it puts it to the DLQ with this code.
You need to follow the advice of jefflowrey and debug the flow, find the problem and fix it. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|