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 » Aggregate nodes Error

Post new topic  Reply to topic
 Aggregate nodes Error « View previous topic :: View next topic » 
Author Message
Meow
PostPosted: Wed Jan 28, 2004 2:59 pm    Post subject: Aggregate nodes Error Reply with quote

Voyager

Joined: 25 Jun 2003
Posts: 95

I am trying to work on aggregate nodes. i am getting the following error when i am putting the message flow

Below are the Trace file details:

2004-01-28 18:31:31.077999 552 UserTrace BIP2638I: The MQ output node 'Test_Aggregate.Replies.MQOutput1' attempted to write a message to the specified queue 'TEST.AGGREGATE.RESPONSE' connected to queue manager 'MYQMGR'. The MQCC was 0 and the MQRC was 0.
2004-01-28 18:31:31.077999 552 UserTrace BIP2622I: Message successfully output by MQ output node 'Test_Aggregate.Replies.MQOutput1' to queue 'TEST.AGGREGATE.RESPONSE' on queue manager 'MYQMGR'.
2004-01-28 18:31:31.077999 552 UserTrace BIP4412I: Corresponding request record not found for the reply message.
An AggregateReply node has received a message at its 'in' terminal. No corresponding record of a request message being sent could be found in the database. See subsequent messages to determine how this situation has been handled.
It is possible that extraneous messages are arriving at the AggregateReply node 'in' terminal. Check your flow to ensure that the only messages arriving here are replies to request messages previously sent out and passed through an AggregateRequest node. It is possible that this message is a valid reply but part of an aggregation which previously timed out. It is possible that this is a reply to a message which has not yet been recorded by an AggregateRequest node. This can happen if request messages are sent outside of transactional control. Adjust your transaction settings to ensure that messages are sent under transactional control.
2004-01-28 18:31:31.077999 552 UserTrace BIP4413I: Storing unknown message persistently for subsequent processing.
The message has been stored persistently by the AggregateReply node. If it is subsequently discovered to be a valid reply in an aggregation then it will be processed as such at that time. If a number of seconds passes as specified by the 'unknown timeout' attribute, then the message will be propagated to the 'unknown' terminal.
No user action required.
2004-01-28 18:31:31.077999 552 UserTrace BIP2231E: Error detected whilst processing a message 'Test_Aggregate.MQInput1'.
The message broker detected an error whilst processing a message in node 'Test_Aggregate.MQInput1'. The message has been augmented with an exception list and has been propagated to the node's failure terminal for further processing.
See the following messages for details of the error.
2004-01-28 18:31:31.077999 552 RecoverableException BIP2230E: Error detected whilst processing a message in node 'Test_Aggregate.PASSENGER Response'.
The message broker detected an error whilst processing a message in node 'Test_Aggregate.PASSENGER Response'. An exception has been thrown to cut short the processing of the message.
See the following messages for details of the error.
2004-01-28 18:31:31.077999 552 RecoverableException BIP2230E: Error detected whilst processing a message in node 'Test_Aggregate.Replies.MQOutput1'.
The message broker detected an error whilst processing a message in node 'Test_Aggregate.Replies.MQOutput1'. An exception has been thrown to cut short the processing of the message.
See the following messages for details of the error.
2004-01-28 18:31:31.077999 552 DatabaseException BIP2371E: Database statement 'INSERT INTO DB2ADMIN.BAGGREGATE (BrokerUUID , aggregateName , replyId , replyProtocol , timeout , data , unsolicited , messageDomain , messageFormat , messageSet , messageType , encoding , ccsid) VALUES ( ? , ? , ? , ? , ? , ? , 'Y' , ? , ? , ? , ? , ? , ? )' could not be executed.
A message flow node attempted to execute a database statement. However, the database returned an error when executing the statement 'INSERT INTO DB2ADMIN.BAGGREGATE (BrokerUUID , aggregateName , replyId , replyProtocol , timeout , data , unsolicited , messageDomain , messageFormat , messageSet , messageType , encoding , ccsid) VALUES ( ? , ? , ? , ? , ? , ? , 'Y' , ? , ? , ? , ? , ? , ? )'.
If necessary, correct the message flow and redeploy the message broker.
2004-01-28 18:31:31.077999 552 DatabaseException BIP2321E: Database error: ODBC return code '-1'.
The message broker encountered an error whilst executing a database operation. The ODBC return code was '-1'. See the following messages for information obtained from the database pertaining to this error.
Use the following messages to determine the cause of the error. This is likely to be such things as incorrect datasource or table names. Then correct either the database or message broker configuration.
2004-01-28 18:31:31.077999 552 DatabaseException BIP2322E: Database error: SQL State '23505'; Native Error Code '-803'; Error Text '[IBM][CLI Driver][DB2/NT] SQL0803N One or more values in the INSERT statement, UPDATE statement, or foreign key update caused by a DELETE statement are not valid because they would produce duplicate rows for a table with a primary key, unique constraint, or unique index. SQLSTATE=23505
'.
The error has the following diagnostic information: SQL State '23505' SQL Native Error Code '-803' SQL Error Text '[IBM][CLI Driver][DB2/NT] SQL0803N One or more values in the INSERT statement, UPDATE statement, or foreign key update caused by a DELETE statement are not valid because they would produce duplicate rows for a table with a primary key, unique constraint, or unique index. SQLSTATE=23505
'
This message may be accompanied by other messages describing the effect on the message broker itself. Use the reason identified in this message with the accompanying messages to determine the cause of the error.
2004-01-28 18:31:31.077999 552


can some one guide me what could be the problem?
Back to top
View user's profile Send private message
lillo
PostPosted: Thu Jan 29, 2004 2:20 am    Post subject: Reply with quote

Master

Joined: 11 Sep 2001
Posts: 224

Hi Meow,

Normally this error is because you are inserting a MsgId in the database which is already there.

I would delete all the rows in the BAGGREGATE table and try again to see what happen. If the problem is still there I will try to generate new MsgId in the MQOutput nodes. Are you using propagage in you compute node?
_________________
Lillo
IBM Certified Specialist - WebSphere MQ
Back to top
View user's profile Send private message
Meow
PostPosted: Thu Jan 29, 2004 10:14 am    Post subject: Reply with quote

Voyager

Joined: 25 Jun 2003
Posts: 95

I have figured out the problem(Infinite Loop).

Shall try what you have suggested once i resolve Database issues on my box. I have tried by generating the new message id though.

It did not work. May be i have to delete the rows in the BAGGREGATE table as you have suggested.

Thank you so much.

-

By the way where can i find information about the tables in the broker/MRM/configmgr databases.
Back to top
View user's profile Send private message
solomita
PostPosted: Wed Jul 28, 2004 9:24 am    Post subject: Reply with quote

Voyager

Joined: 06 May 2003
Posts: 94

What was causing your infinite loop? I am at a site where they are having a problem using aggregation which is throwing parsing errors, filling up the database log and infinitely looping.
Back to top
View user's profile Send private message Yahoo Messenger
Lillian
PostPosted: Wed Dec 01, 2004 6:12 am    Post subject: Reply with quote

Centurion

Joined: 15 Apr 2002
Posts: 102

Please let mek now how you resolved this problem. I am getting the same database error which rolls back from the reply aggregate. I have cleared the database, ensured the msgid is different, but still getting the error.
Back to top
View user's profile Send private message
TonyD
PostPosted: Wed Dec 01, 2004 1:43 pm    Post subject: Reply with quote

Knight

Joined: 15 May 2001
Posts: 540
Location: New Zealand

You need to trap errors after an Aggregate Reply node and prevent them from being rolled back through this node by including TryCatch nodes after the AggReply output terminals (Timeout, Unknown etc.) and then carrying your own error handling from the Catch terminal.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Aggregate nodes Error
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.