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 » Issues with multiple instances of message flows.

Post new topic  Reply to topic
 Issues with multiple instances of message flows. « View previous topic :: View next topic » 
Author Message
pratik_oze
PostPosted: Fri Nov 04, 2011 1:31 am    Post subject: Issues with multiple instances of message flows. Reply with quote

Apprentice

Joined: 22 Jun 2004
Posts: 34

Hi,
We are facing a issue with multiple instances of a flow deployed on an execution group. The flow is retreiving data from the cache which is used for further processing. But while the flow is triggered with say 60 messages- 15 messsages fail to get the cached data , rest messages are processed fine.

Does anbody have any pointers to such issues?
Back to top
View user's profile Send private message
Esa
PostPosted: Fri Nov 04, 2011 2:16 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

Seems to me like you have't locked the cache object properly while populationg it.
The first instance starts populating the cache from somewhere. This takes some time, of course, othewise you wouldn't be using a cache. And the next instances get an empty cache untill it's been populated by the first instance...
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Nov 04, 2011 6:36 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Are you making use of the keyword ATOMIC ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
pratik_oze
PostPosted: Sun Nov 06, 2011 7:22 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2004
Posts: 34

Hi,
The issue was resolved by changing the Parser to XMLNS from XMLNSC in the code. The cache retrived in XML format was failing sometimes due to this parse and chnage of parser has worked.
Back to top
View user's profile Send private message
Vitor
PostPosted: Sun Nov 06, 2011 9:38 am    Post subject: Reply with quote

Grand High Poobah

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

pratik_oze wrote:
The cache retrived in XML format was failing sometimes due to this parse and chnage of parser has worked.


If the cache really was in XML format then both parsers should have been able to parse it. I put it to you that it was in fact in some format which to the naked eye looked like XML but wasn't to the extent that it still looked like XML after the compact parser had processed it.

What was the parse error?
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Issues with multiple instances of message flows.
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.