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 » Weird problem, flows is still running even after its deletio

Post new topic  Reply to topic
 Weird problem, flows is still running even after its deletio « View previous topic :: View next topic » 
Author Message
JohnSmith
PostPosted: Fri Apr 23, 2010 8:38 am    Post subject: Weird problem, flows is still running even after its deletio Reply with quote

Voyager

Joined: 17 Mar 2010
Posts: 86

Hello All,

Today we are facing a very weird problem, we made some changes in one of our flow and deployed it to the message broker again.

But, broker was still taking the earlier logic of the flow, we re-deployed after cleaning the project. But still the same problem. So, finally I ended up deletiing the flow from the broker. And found that it is still processing the messages even after 1 hour. What could be the reason.

I think if I re-start the Broker, it will solve the problem, but it is a restricted environment and I do not have access to re-start the broker. Any other way besides this to resolve this problem?

Regards,
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Apr 23, 2010 8:43 am    Post subject: Reply with quote

Grand High Poobah

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

Do a search in here for "phantom flows". It's a rare but observed phenomonon
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
JohnSmith
PostPosted: Fri Apr 23, 2010 9:52 am    Post subject: Reply with quote

Voyager

Joined: 17 Mar 2010
Posts: 86

Hi Vitor,

Thanks, after searching the forum for the so called "Phantom Flows", I got one solutiong from one of the post,
Quote:

1. Get broker, exgroup and flow id's.
2. <Broker label="JUNEBRK" uuid="083a0bfa-2101-0000-0080-c65b38f747bb" version="1"><Change><ExecutionGroup label="default" uuid="093a0bfa-2101-0000-0080-c65b38f747bb"/></Change><ExecutionGroup uuid="093a0bfa-2101-0000-0080-c65b38f747bb"><Delete><MessageFlow uuid="572f0ffa-2101-0000-0080-9c7b2948197b"/></Delete></ExecutionGroup></Broker>

Update above msg with proper ids.
Have to set message format as MQSTR, ReplyToQ and ReplyToQMGr.
3. Then put msg in SYSTEM.BROKER.ADMIN.QUEUE


But, I also saw that u have suggested not to use this method for broker sanity, is there any other way we can fix this problem without starting/stopping the broker?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Apr 23, 2010 7:23 pm    Post subject: Reply with quote

Grand High Poobah

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

JohnSmith wrote:
Hi Vitor,

Thanks, after searching the forum for the so called "Phantom Flows", I got one solutiong from one of the post,
Quote:

1. Get broker, exgroup and flow id's.
2. <Broker label="JUNEBRK" uuid="083a0bfa-2101-0000-0080-c65b38f747bb" version="1"><Change><ExecutionGroup label="default" uuid="093a0bfa-2101-0000-0080-c65b38f747bb"/></Change><ExecutionGroup uuid="093a0bfa-2101-0000-0080-c65b38f747bb"><Delete><MessageFlow uuid="572f0ffa-2101-0000-0080-9c7b2948197b"/></Delete></ExecutionGroup></Broker>

Update above msg with proper ids.
Have to set message format as MQSTR, ReplyToQ and ReplyToQMGr.
3. Then put msg in SYSTEM.BROKER.ADMIN.QUEUE


But, I also saw that u have suggested not to use this method for broker sanity, is there any other way we can fix this problem without starting/stopping the broker?


Try and remove all flows from the eg (eg level deploy) and make sure no more flow is running. Then redeploy the right flows to the eg. Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
JohnSmith
PostPosted: Fri Apr 23, 2010 9:15 pm    Post subject: Reply with quote

Voyager

Joined: 17 Mar 2010
Posts: 86

fjb_saper wrote

Quote:
Try and remove all flows from the eg (eg level deploy) and make sure no more flow is running. Then redeploy the right flows to the eg. Have fun


Thanks for your reply, my concern here is even if I remove all the flows from an execution group, would it guarantee that the "phantom flow" has also been removed. What if, config manager in the toolkit doesnt show any flow in the EG group but there is one "Phantom Flow" present.

How can we determine what are all the flows running in an execution group including instances of Phantom flows.

I know there is a command called "mqsilist" but I think that will give only the list of normal flows present in an execution group not including the Phantom flows.

Please note that my environment is AIX and I am running Broker V6.1 on it.

Thanks.
Back to top
View user's profile Send private message
JohnSmith
PostPosted: Fri Apr 23, 2010 10:01 pm    Post subject: Reply with quote

Voyager

Joined: 17 Mar 2010
Posts: 86

I have another query, that the mqsilist command list down all the flows present in an execution group but it doesnt tell us whether the flow is running or not. As I do not have toolkit installed in my environment and I am directly working on an AIX server, so if there is any way to find from the AIX box itself whether a particular flow is working or not.

Regards,
Back to top
View user's profile Send private message
Mandeep
PostPosted: Tue Apr 27, 2010 12:31 am    Post subject: Reply with quote

Apprentice

Joined: 03 May 2004
Posts: 33

Is that 'phantom' flow of yours HTTP or MQ based?

A good idea would be to check the 'open input count' on MQ Input Queue of the flow. If after removing the flow you still see the count > 0 then you know that flow is still deployed some where in your broker, possibly in some other execution group.

And since you mentioned the old code is being executed, this could be a problem when developers use toolkit's drag-drop facility to deploy the flow to target EG's. It is possible that by mistake the flow got deployed to a wrong EG (not designated for that Flow) .

Also this is true for HTTP based Flow. If you have deployed to wrong EG some time, you still see the old code running (even after deleting the latest flow from the correct EG)
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 » Weird problem, flows is still running even after its deletio
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.