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 » rename cmf in BAR

Post new topic  Reply to topic
 rename cmf in BAR « View previous topic :: View next topic » 
Author Message
scravr
PostPosted: Wed Aug 11, 2010 3:16 pm    Post subject: rename cmf in BAR Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 391
Location: NY NY USA 10021

In order to deploy a flow multiple times on a single execution group (with different promoted properties):
Does anyone knows a way to rename the cmf file, while runing mqsiapplybaroverride or mqsideploy command line?

Any suggestions on how to deploy a flow multiple times to same exec group?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
mqjeff
PostPosted: Wed Aug 11, 2010 5:32 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

neither of these commands support changing the cmf name or modifying any part of the bar file other than the configurable properties.

A bar file is just a zip file.
Back to top
View user's profile Send private message
scravr
PostPosted: Thu Aug 12, 2010 5:56 am    Post subject: Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 391
Location: NY NY USA 10021

1. Any ideas how to automate rename of cmf file? (Not a manual change on toolkit).

2. How to run same flow more than once on same exec group?

3. Why exec group runs the name of a flow instead of by name of the created BAR name?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Vitor
PostPosted: Thu Aug 12, 2010 6:06 am    Post subject: Reply with quote

Grand High Poobah

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

scravr wrote:
1. Any ideas how to automate rename of cmf file? (Not a manual change on toolkit).


As stated a bar file is just a zip file. So you can change it any way you like. But IBM does not AFAIK support any bar file that's been modified by any non-IBM provided method.

scravr wrote:
2. How to run same flow more than once on same exec group?


You can't. You can run more instances of the same flow, which works in most situations.

scravr wrote:
3. Why exec group runs the name of a flow instead of by name of the created BAR name?


Because the flow is the component that runs. The bar file name is arbitrary and has no connection to the flow (or flows) it runs. Each bar file can contain 1-n flows and I personally like the fact I can stop or start them individually while still having a single bar file that's everything I need to deploy to an environment.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
scravr
PostPosted: Thu Aug 12, 2010 6:13 am    Post subject: Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 391
Location: NY NY USA 10021

Well, sometimes (like mine) there is a need to run same flow (with diff properties) more than once on a single exec goup.

On toolkit I can change the cmf name and redeploy.
Why there is no same capability on command line?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Vitor
PostPosted: Thu Aug 12, 2010 6:30 am    Post subject: Reply with quote

Grand High Poobah

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

scravr wrote:
Well, sometimes (like mine) there is a need to run same flow (with diff properties) more than once on a single exec goup.


I did say most situations.

scravr wrote:
On toolkit I can change the cmf name and redeploy.


How? I can't find that option on mine.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
scravr
PostPosted: Thu Aug 12, 2010 6:40 am    Post subject: Reply with quote

Partisan

Joined: 03 Apr 2003
Posts: 391
Location: NY NY USA 10021

See infocenter af03885

or

Open the BAR Manage's tab, right click and EDIT cmf name. Then deploy to same Exec Group. The look at the EG; you will see the new name.

Do not BUILD the bar; it restores the cmf name !!!! (unless you like to restore; in your case you should)
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Vitor
PostPosted: Thu Aug 12, 2010 6:48 am    Post subject: Reply with quote

Grand High Poobah

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

scravr wrote:
See infocenter af03885


Again my signature is vindicated!

(Mind you, 10 years doing this & I've managed without this knowledge so far...!)

In which case the answer to your question:

scravr wrote:
Why there is no same capability on command line?


is "because no one in IBM thought of it".

Time for an enhancement request.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
inMo
PostPosted: Thu Aug 12, 2010 7:31 am    Post subject: Reply with quote

Master

Joined: 27 Jun 2009
Posts: 216
Location: NY

Are you refering to the part about the sharpened trout?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Aug 12, 2010 8:23 am    Post subject: Reply with quote

Grand High Poobah

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

inMo wrote:
Are you refering to the part about the sharpened trout?


All of it. Including that part.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
dominik.schweers
PostPosted: Tue Aug 24, 2010 1:31 am    Post subject: Reply with quote

Novice

Joined: 23 Oct 2008
Posts: 17

Hi all!

We have the same problem over here! I have found no way to rename a flow automatically during build.

My colleague found a very nice way to do what we want:

We have a flow called FlowX. This flow should be deployed to one Execution Group several times with different settings. We have created flows

FlowX_customer1
FlowX_customer2
FlowX_customer3...

Each customer flow simply embeds the FlowX, in other words FlowX is inserted as a subflow in each customer flow. The customer flows can be deployed with different settings and we do not have to duplicate stuff.

You can start to bash this idea now!

Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 24, 2010 7:59 am    Post subject: Reply with quote

Grand High Poobah

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

Vitor wrote:

scravr wrote:
On toolkit I can change the cmf name and redeploy.


How? I can't find that option on mine.

Vitor, Are you running V7?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Aug 24, 2010 8:22 am    Post subject: Reply with quote

Grand High Poobah

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

fjb_saper wrote:
Vitor, Are you running V7?



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 24, 2010 8:38 am    Post subject: Reply with quote

Grand High Poobah

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

Vitor wrote:
fjb_saper wrote:
Vitor, Are you running V7?



I've seen this kind of renaming being done in the V7 toolkit...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Aug 24, 2010 9:19 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
Vitor wrote:
fjb_saper wrote:
Vitor, Are you running V7?



I've seen this kind of renaming being done in the V7 toolkit...


In Toolkit 6.1.0.7, I can right click on the cmf file in the BAR file editor and "Edit". Then I can "Enter a new entry name".

This doesn't appear to be possible in 6.0.0.x Toolkit
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 » rename cmf in BAR
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.