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 » Remove a deployed flow

Post new topic  Reply to topic
 Remove a deployed flow « View previous topic :: View next topic » 
Author Message
kash3338
PostPosted: Fri Aug 03, 2012 8:22 am    Post subject: Remove a deployed flow Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

Hi,

We have faced this scenario so many times. In our development environment (Windows XP), we have a Broker server and have many systems connected to the Broker server. This server is primarily used by the newbies to have a hands-ons on WMB.

Often there are times when some flow gets deployed with a infinite loop or for some reason the flow just hangs in the EG and we are not able to remove the flow. Generally we try the following,

1. Cancel all deployments and try removing
2. Restart the EG
3. Stop the Broker (The Broker service goes in a "Stopping" state, hence we end the bibBroker process and stop it) and again restart.

Few times we succeed with one of the above steps, but few times none of these helps.

What is the proper way to handle this problem? What if the flow is hung and we are not able to remove it from the EG?

This holds good for both WMB v6.1 and v7.0
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Fri Aug 03, 2012 9:01 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Usually the best way to stop a flow that is in an infinite loop is to
  1. block all potential inputs, particularly do things like get-disable any queues it reads from
  2. restart the EG


If the flow has no input available when the EG starts up, then it won't run any code and so it won't loop. Restarting the eG, even by killing the DFE process, means that any loops running are now stopped.
Back to top
View user's profile Send private message
kash3338
PostPosted: Sat Aug 04, 2012 3:49 am    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

mqjeff wrote:
Restarting the eG, even by killing the DFE process, means that any loops running are now stopped.


Thanks mqjeff. How to identify the DFE process of a particular Message Flow? Do you mean to say, we should identify the DFE process of that particular flow and kill it?
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Sat Aug 04, 2012 5:27 am    Post subject: Reply with quote

Grand High Poobah

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

kash3338 wrote:
How to identify the DFE process of a particular Message Flow?


ps -ef
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Aug 04, 2012 5:47 am    Post subject: Reply with quote

Grand High Poobah

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

Vitor wrote:
kash3338 wrote:
How to identify the DFE process of a particular Message Flow?


ps -ef


A little bit more difficult if you are running on Windows, but you should see the pid in the WMB Explorer when the eg starts up.
Then set your task manager to display the pid as well and there you are all set...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
McueMart
PostPosted: Sat Aug 04, 2012 6:01 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

On windows I would highly recommend using a program such as Process Explorer (http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx) for killing DFE processes!
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Aug 04, 2012 6:29 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

McueMart wrote:
On windows I would highly recommend using a program such as Process Explorer (http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx) for killing DFE processes!

For those with multiple qmgrs on windows, a very useful graphical tool to display WMQ processes belonging to an individual qmgrs process tree.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » Remove a deployed flow
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.