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 » Messgae flow with same name shown multiple times on same EG

Post new topic  Reply to topic Goto page 1, 2  Next
 Messgae flow with same name shown multiple times on same EG « View previous topic :: View next topic » 
Author Message
bloomy
PostPosted: Wed Jun 17, 2009 1:25 pm    Post subject: Messgae flow with same name shown multiple times on same EG Reply with quote

Acolyte

Joined: 11 Feb 2009
Posts: 61
Location: Bloomington, IL USA

Hi All,

I am in a un common situation, I am seeing three flows with same name and the flows are actually the same, we did not deploy thrice too.

when i try to delete the flows it errors out saying the below error in toolkit, I tried to reload the EG and delete the flows but of no use.

Ambiguous name '**_***_***.****_***_****_****_Flow.cmf' (could be one of: **_***_***.****_***_****_****_Flow.cmf, **_***_***.****_***_****_****_Flow.cmf, **_***_***.****_***_****_****_Flow.cmf)
____________________________________________________________
No updates to send.

And the errors in syslog says:
(BRK.***_**)[9769]BIP2339W: A message flow has been created with the same name as an existing message flow. The new
message flow name is *********

Did any one else seen a similar scenario, any suggestion or help greatly appreciated.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 17, 2009 2:43 pm    Post subject: Reply with quote

Grand High Poobah

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

Work with the configmgr API exerciser. Check out the MFs with their associated ID and not name. This should be different and a number format.

You should then be able to target which one you want to delete...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
bloomy
PostPosted: Thu Jun 18, 2009 6:52 am    Post subject: Reply with quote

Acolyte

Joined: 11 Feb 2009
Posts: 61
Location: Bloomington, IL USA

Thanks for the response.
I tried to delete the flows from CMP API excerciser too, but getting the same error.

Quote:
You should then be able to target which one you want to delete...


I want to delete all the three flows, I tired deleting one by one and all the three and three at once. Getting the same error, so the other option I have is to use "remove deployed children" but in this way I will loose all the other flows in that EG. So I guess I was not clear last time, so i repost it, i want to get rid of all these three flows with same name.
Back to top
View user's profile Send private message
broker_new
PostPosted: Thu Jun 18, 2009 1:04 pm    Post subject: Reply with quote

Yatiri

Joined: 30 Nov 2006
Posts: 614
Location: Washington DC

Not sure but give it a try..

DELETING THE MESSAGE FLOW VIA A MESSAGE
Now that you have the message flow UUID that you want to remove, there are two ways to remove the message flow from the broker database. The first is to manually send a deployment message to the Broker, whilst the second is to manually delete the message flow row from the broker database.

It is possible to manually send a deployment message to the SYSTEM.BROKER.ADMIN.QUEUE of the Broker's queue manager with the following message data:

<Broker label="LHPIEV5" uuid="BrokerUUID" version="1">
<Change>
<ExecutionGroup label="EgLabel" uuid="EgUUID"/>
</Change>
<ExecutionGroup label="EgLabel" uuid="EgUUID">
<Delete>
<MessageFlow uuid="MsgFlowUUID"/>
</Delete>
</ExecutionGroup>
</Broker>

Replacing "BrokerUUID", "EgLabel", "EgUUID" and "MsgFlowUUID" with the real values. For example:

Source for fields
§ BrokerUUID from CBROKER table
0a05f373-fe00-0000-0080-e55d770dfbbd

§ EgUUID from CEG table (or ps –elf | grep DataFlowEngine)
a58c7b7e-0c01-0000-0080-f73e95d6d3d6

§ MsgFlowUUID from mqsireportproperties (or CMSGFLOW table)
888bac3d-0d01-0000-0080-a3c36930ad4d


<Broker label="FADWBID1" uuid="0a05f373-fe00-0000-0080-e55d770dfbbd" version="1">
<Change>
<ExecutionGroup label="CS_FLOWS" uuid=" a58c7b7e-0c01-0000-0080-f73e95d6d3d6"/>
</Change>
<ExecutionGroup label=" CS_FLOWS" uuid=" a58c7b7e-0c01-0000-0080-f73e95d6d3d6">
<Delete>
<MessageFlow uuid="888bac3d-0d01-0000-0080-a3c36930ad4d"/>
</Delete>
</ExecutionGroup>
</Broker>

The message must have:
§ MQMessageFormat = MQSTR
§ MsgType of Request in the MQMD
§ Specify the ReplyQmgr and ReplyQ (which can be any queue).

This will safely remove the message flow from the database as would a normal deployment from the configuration manager.

The ReplyToQ can be checked to see the result of the configuration change request.
_________________
IBM ->Let's build a smarter planet
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jun 18, 2009 1:10 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

...
Can you just redeploy to a new EG and delete the old one?
Back to top
View user's profile Send private message
rekarm01
PostPosted: Thu Jun 18, 2009 7:12 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

... or 'Removed Deployed Children' from execution group, and re-deploy desired message flows?
Back to top
View user's profile Send private message
bloomy
PostPosted: Fri Jun 19, 2009 11:15 am    Post subject: Reply with quote

Acolyte

Joined: 11 Feb 2009
Posts: 61
Location: Bloomington, IL USA

Thanks broker_new for the response.

Sounds likea good idea, but i thought of doing a remove deployed children. But good info in your post i will try this on a test server and see if it works, so that if i face a similar situation in futire i can remove the unwanted flow in this way.

But for now i will remove all the flows using remove deployed children and redeploy all the flows.

Thanks all for the valuable suggestions.
Back to top
View user's profile Send private message
mqmatt
PostPosted: Wed Jun 24, 2009 8:02 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

Relying on messages to the SYSTEM.BROKER.ADMIN.QUEUE isn't a good idea; even if it works now, it's possible it won't work in the future.

The answer is to remove deployed children, or mqsideploy -m.
Back to top
View user's profile Send private message
dilse
PostPosted: Wed Jun 24, 2009 8:41 am    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

Just curious as to whether you performed the following in your effort to resolve the situation:

1. Restarting the Configuration manager and Broker
2. "mqsireload" on the execution group.
_________________
DilSe..

Take life as it comes..
Back to top
View user's profile Send private message
bloomy
PostPosted: Thu Jun 25, 2009 11:31 am    Post subject: Reply with quote

Acolyte

Joined: 11 Feb 2009
Posts: 61
Location: Bloomington, IL USA

Already tried the restart of both broker and configmgr, but the issue remains the same.

The EG has other flows which are being used by the projects for their testing so cannot do a remove deployed children. Ultimately I may end up doing it, I am also at the same time eager to see if remove deploy children works or not at all.
Back to top
View user's profile Send private message
aditya.aggarwal
PostPosted: Sat Jun 27, 2009 7:23 am    Post subject: Reply with quote

Master

Joined: 13 Jan 2009
Posts: 252

Only Solution to this problem is remove deployed childern.

or use below commands to remove the ambiguous message flow from the EG if you can not perfomr remove deployed childern.


mqmatt wrote:
Quote:
Relying on messages to the SYSTEM.BROKER.ADMIN.QUEUE isn't a good idea; even if it works now, it's possible it won't work in the future.

The answer is to remove deployed children, or mqsideploy -m


'mqsideploy -d' is used to remove message flow from EG and not the 'mqsideploy -m'

Bloomy you can use the below command to remove the ambigusous message flow from EG:

mqsideploy (-n cfgParameterFileName | ([-i ipAddress] [-p port] [-q qMgr])) -b brokerName -e executionGroupName -d deployedObjects
[-w timeoutValue] [-v traceFileName]


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

Voyager

Joined: 17 Mar 2010
Posts: 86

aditya.aggarwal wrote:
Quote:
Only Solution to this problem is remove deployed childern.

or use below commands to remove the ambiguous message flow from the EG if you can not perfomr remove deployed childern.


mqmatt wrote:
Quote:
Relying on messages to the SYSTEM.BROKER.ADMIN.QUEUE isn't a good idea; even if it works now, it's possible it won't work in the future.

The answer is to remove deployed children, or mqsideploy -m


'mqsideploy -d' is used to remove message flow from EG and not the 'mqsideploy -m'

Bloomy you can use the below command to remove the ambigusous message flow from EG:

mqsideploy (-n cfgParameterFileName | ([-i ipAddress] [-p port] [-q qMgr])) -b brokerName -e executionGroupName -d deployedObjects
[-w timeoutValue] [-v traceFileName]



Hi Aditya,

I can not perform remove deployed children on the execution group I have created as it has huge number of flows running.

So, I tried the command you mentioned, and I got the below response

mqsideploy -n "C:\ABC.configmgr" -b BKWMBRK -e ExGrp1 -d Flow1


BIP1044I: Connecting to the Configuration Manager's queue manager...
BIP1045I: Connecting to the Configuration Manager...
BIP1089W: Ignoring the following name(s) as they are ambiguous on 'ExGrp1':
Flow1


It is giving the above error and not removing the ambiguous flow from the execution group. Please note that I am seeing 2 copies of the ambiguous flows on my execution group.

Any Idea why it is throwing this error?
[/b]
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Apr 24, 2010 6:41 am    Post subject: Reply with quote

Grand High Poobah

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

As mqmatt said you need to use the -m option.
Check it out http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/topic/com.ibm.etools.mft.doc/an28520_.htm

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
JohnSmith
PostPosted: Sat Apr 24, 2010 10:36 pm    Post subject: Reply with quote

Voyager

Joined: 17 Mar 2010
Posts: 86

Quote:
<Broker label="LHPIEV5" uuid="BrokerUUID" version="1">
<Change>
<ExecutionGroup label="EgLabel" uuid="EgUUID"/>
</Change>
<ExecutionGroup label="EgLabel" uuid="EgUUID">
<Delete>
<MessageFlow uuid="MsgFlowUUID"/>
</Delete>
</ExecutionGroup>
</Broker>

The message must have:
§ MQMessageFormat = MQSTR
§ MsgType of Request in the MQMD
§ Specify the ReplyQmgr and ReplyQ (which can be any queue).



I tried the above option and it worked.

Thanks
Back to top
View user's profile Send private message
intisam
PostPosted: Fri May 28, 2010 2:35 am    Post subject: Ambiguous flows Reply with quote

Novice

Joined: 18 Mar 2008
Posts: 21

Hi,
As suggested I have tried to create a msg with broker,EG & msg flow UID's and placed to the SYSTEM.BROKER.ADMIN.QUEUE of the Broker's queue manager with the following message data:

<Broker label="LHPIEV5" uuid="BrokerUUID" version="1">
<Change>
<ExecutionGroup label="EgLabel" uuid="EgUUID"/>
</Change>
<ExecutionGroup label="EgLabel" uuid="EgUUID">
<Delete>
<MessageFlow uuid="MsgFlowUUID"/>
</Delete>
</ExecutionGroup>
</Broker>

But still I am not able to remove the flows,I am getting "BIP8099I: Deployed Message Response returned was : NEGATIVE, invalidMessage - :" error.

I think it is coming because of invalid msg ype (???), I have used "Broker" as msg type,would you please help on this that wht should be the msg type ?
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Messgae flow with same name shown multiple times on same EG
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.