Author |
Message
|
MQBUDDI |
Posted: Wed Nov 30, 2005 1:55 pm Post subject: Cache Nodes |
|
|
Newbie
Joined: 31 Oct 2005 Posts: 4
|
Hi Every one,
I am using CacheNodes to store the data temperorly as some more data is expected for the same request and I have to send it together to the end application.I am getting following exception .If any one got clue or idea please help me out.
(0x01000000):RecoverableException = (
(0x03000000):File = '/build/S500_P/src/DataFlowEngine/ImbDataFlowNode.cpp'
(0x03000000):Line = 558
(0x03000000):Function = 'ImbDataFlowNode::createExceptionList'
(0x03000000):Type = 'ComIbmJniNode'
(0x03000000):Name = 'CMG1_MAIN_RSP_08152004#FCMComposite_1_6.CMG1_APFQ_RSP#FCMComposite_1_3.CMG1_APFQ_RSP_FOLLOW_UP_sub_08152004#FCMComposite_1_5'
(0x03000000):Label = 'CMG1_MAIN_RSP_08152004.CMG1_APFQ_RSP1.CMG1_APFQ_RSP_FOLLOW_UP_sub_081520041.CachePut'
(0x03000000):Text = 'Node throwing exception'
(0x03000000):Catalog = 'BIPv500'
(0x03000000):Severity = 3
(0x03000000):Number = 2230
(0x01000000):UserException = (
(0x03000000):File = '/build/S500_P/src/DataFlowEngine/PluginInterface/com_ibm_broker_plugin_CMbService.cpp'
(0x03000000):Line = 1337
(0x03000000):Function = 'userMbExceptionToNativeException'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Text = 'Unhandled exception in plugin method'
(0x03000000):Catalog = 'BIPv500'
(0x03000000):Severity = 3
(0x03000000):Number = 4367
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'evaluate'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'CMG1_APFQ_RSP1.CMG1_APFQ_RSP_FOLLOW_UP_sub_081520041.CachePut'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = '<com.ibm.broker.plugin.MbUserException class:CachePutNode method:evaluate source:cache key:2001message: Unable to resolve message: Source: cacheKey: 2001 >'
)
)
The message that coming to CachePut Node is this..this is trace file
(0x01000010):XML = (
(0x01000000):ACCOUNTS = (
(0x01000000):SynchronousRequest = (
(0x02000000): = 'Y'
)
(0x01000000):RelationshipAccountRefresh = (
(0x02000000): = 'N'
)
(0x01000000):EndOfData = (
(0x02000000): = 'N'
)
(0x01000000):UserId = (
(0x02000000): = 'A444309'
)
(0x01000000):KEY = (
(0x02000000): = X'414d5120473941443030324120202020842b2b4320110905'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '000'
(0x03000000):Product-Line-Code = 'CAN'
(0x03000000):Acct-Number = '233007133'
(0x03000000):Account-Number = '000CAN233007133'
(0x03000000):Product-Code = 'COMM'
(0x03000000):Open-Date = '06/22/2000'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '001'
(0x03000000):Product-Line-Code = 'MBN'
(0x03000000):Acct-Number = '4488131001356076'
(0x03000000):Account-Number = '001MBN4488131001356076'
(0x03000000):Product-Code = 'BUS1'
(0x03000000):Open-Date = '07/22/1999'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '001'
(0x03000000):Product-Line-Code = 'MBN'
(0x03000000):Acct-Number = '4488131001356084'
(0x03000000):Account-Number = '001MBN4488131001356084'
(0x03000000):Product-Code = 'BUS1'
(0x03000000):Open-Date = '07/22/1999'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '001'
(0x03000000):Product-Line-Code = 'MBN'
(0x03000000):Acct-Number = '4488134000136259'
(0x03000000):Account-Number = '001MBN4488134000136259'
(0x03000000):Product-Code = 'BUS1'
(0x03000000):Open-Date = '11/26/2001'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '001'
(0x03000000):Product-Line-Code = 'MBN'
(0x03000000):Acct-Number = '4488134000136705'
(0x03000000):Account-Number = '001MBN4488134000136705'
(0x03000000):Product-Code = 'BUS1'
(0x03000000):Open-Date = '11/27/2001'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '001'
(0x03000000):Product-Line-Code = 'MBN'
(0x03000000):Acct-Number = '4488134000136804'
(0x03000000):Account-Number = '001MBN4488134000136804'
(0x03000000):Product-Code = 'BUS1'
(0x03000000):Open-Date = '11/28/2001'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '001'
(0x03000000):Product-Line-Code = 'MBN'
(0x03000000):Acct-Number = '4488134000194431'
(0x03000000):Account-Number = '001MBN4488134000194431'
(0x03000000):Product-Code = 'BUS1'
(0x03000000):Open-Date = '09/17/2002'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '001'
(0x03000000):Product-Line-Code = 'MBN'
(0x03000000):Acct-Number = '4488134000257832'
(0x03000000):Account-Number = '001MBN4488134000257832'
(0x03000000):Product-Code = 'BUS1'
(0x03000000):Open-Date = '09/29/2003'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '001'
(0x03000000):Product-Line-Code = 'MBN'
(0x03000000):Acct-Number = '4488134000258343'
(0x03000000):Account-Number = '001MBN4488134000258343'
(0x03000000):Product-Code = 'BUS1'
(0x03000000):Open-Date = '09/29/2003'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '001'
(0x03000000):Product-Line-Code = 'MBN'
(0x03000000):Acct-Number = '4488134000302042'
(0x03000000):Account-Number = '001MBN4488134000302042'
(0x03000000):Product-Code = 'BUS1'
(0x03000000):Open-Date = '06/14/2004'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '001'
(0x03000000):Product-Line-Code = 'MBN'
(0x03000000):Acct-Number = '4488134000309641'
(0x03000000):Account-Number = '001MBN4488134000309641'
(0x03000000):Product-Code = 'BUS1'
(0x03000000):Open-Date = '07/19/2004'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '001'
(0x03000000):Product-Line-Code = 'MBN'
(0x03000000):Acct-Number = '4488134000344986'
(0x03000000):Account-Number = '001MBN4488134000344986'
(0x03000000):Product-Code = 'BUS1'
(0x03000000):Open-Date = '12/15/2004'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '001'
(0x03000000):Product-Line-Code = 'MBN'
(0x03000000):Acct-Number = '4488134000344994'
(0x03000000):Account-Number = '001MBN4488134000344994'
(0x03000000):Product-Code = 'BUS1'
(0x03000000):Open-Date = '12/15/2004'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '001'
(0x03000000):Product-Line-Code = 'MBN'
(0x03000000):Acct-Number = '4488134000345009'
(0x03000000):Account-Number = '001MBN4488134000345009'
(0x03000000):Product-Code = 'BUS1'
(0x03000000):Open-Date = '12/15/2004'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
(0x01000000):ACCOUNT = (
(0x03000000):Account-Status = 'Open'
(0x03000000):RRN = '044065507'
(0x03000000):Org = '001'
(0x03000000):Product-Line-Code = 'MBN'
(0x03000000):Acct-Number = '4488134500082862'
(0x03000000):Account-Number = '001MBN4488134500082862'
(0x03000000):Product-Code = 'BUS1'
(0x03000000):Open-Date = '11/28/2001'
(0x03000000):Joint-Account = 'N'
(0x03000000):Total-Balance = '.00'
(0x03000000):Available-Balance = '.00'
(0x03000000):Branch-Number = '0000000'
)
)
)
Cacheput Node configuration is like this
Scope of cache :Execution group
Location of key in message :OutputRoot.XML.ACCOUNTS.KEY
Location of data in message:OutputRoot.XML.ACCOUNTS
Life of data(milliseconds) :60000
CacheGet Node configuration is like this
Scope of cache :Execution group
Location of key in message :OutputRoot.XML.ACCOUNTS.KEY
Location of data in message:OutputRoot.XML.ACCOUNTS
Get option :Non destructive.
help me out ..Thank you |
|
Back to top |
|
 |
JT |
Posted: Wed Nov 30, 2005 3:24 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
Try this instead:
Quote: |
Cacheput Node configuration is like this
Scope of cache :Execution group
Location of key in message :Root.XML.ACCOUNTS.KEY
Location of data in message:Root.XML.ACCOUNTS
Life of data(milliseconds) :60000
CacheGet Node configuration is like this
Scope of cache :Execution group
Location of key in message :Root.XML.ACCOUNTS.KEY
Location of data in message:Root.XML.ACCOUNTS
Get option :Non destructive. |
|
|
Back to top |
|
 |
MQBUDDI |
Posted: Wed Nov 30, 2005 3:50 pm Post subject: I tried |
|
|
Newbie
Joined: 31 Oct 2005 Posts: 4
|
Hi,
Thanks for response.I tried no luck
MQBUDDI |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Nov 30, 2005 4:02 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What, um, version of the Cache nodes are you using?
Are you using v5, and the support pack?
Are you using v6, and whatever is built-in for v6?
Because... I mean.
I'm just wondering.
Does the v5 cache node support pack allow you to store an entire message tree? Or merely a single value/scalar?
I haven't really used v6 or the support pack... so I'm not necessarily the best resource...
but I still wonder. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
JT |
Posted: Wed Nov 30, 2005 5:01 pm Post subject: |
|
|
Padawan
Joined: 27 Mar 2003 Posts: 1564 Location: Hartford, CT.
|
It's been some time since I've used the Cache nodes, but I thought that the key value had to be in character format (possibly it was a restriction in the earlier versions ?).
Should be simple enough for you to run a quick test to determine if that's true. |
|
Back to top |
|
 |
EddieA |
Posted: Wed Nov 30, 2005 9:38 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
The Cache nodes only accept a character string for both the Key and the Data. If you want to store XML there, you'll have to ASBITSTREAM it to store, and PARSE it after retreival.
Also this and this.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
|