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 » Unable to undeploy more than 2 flows

Post new topic  Reply to topic
 Unable to undeploy more than 2 flows « View previous topic :: View next topic » 
Author Message
AJStar
PostPosted: Tue Feb 05, 2008 8:50 pm    Post subject: Unable to undeploy more than 2 flows Reply with quote

Acolyte

Joined: 27 Jun 2007
Posts: 64

I'm unable to undeploy more two flows at a time using the mqsideploy command.

Example:
mqsideploy -i <ip> -p <port> -q <QM> -b <BRK> -e <EG> -d MsgFlow1:MsgFlow2

Above command works.

The below command does not...

mqsideploy -i <ip> -p <port> -q <QM> -b <BRK> -e <EG> -d MsgFlow1:MsgFlow2:MsgFlow3

More than two at a time does not work. Is this the actual behaviour?

The syntax says "'-d deployedObjects' remove a colon separated list of deployed objects from the execution group".

Have I understood the syntax wrong or is it some problem that I'm alone facing?

Regards
AJ
Back to top
View user's profile Send private message
VivekMeshram
PostPosted: Tue Feb 05, 2008 10:59 pm    Post subject: Reply with quote

Voyager

Joined: 25 Mar 2002
Posts: 83

Please see/check the syntax of the mqsideploy command. mqsideploy command use to make a request to deploy the bar (Broker Archive) file that is to be used for a message flow or message set deploy to the configuration manager.
_________________
Thanks
Vivek S Meshram.

·IBM Certified Specialist – IBM WebSphere MQ v5.3 / v5.2
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Feb 06, 2008 2:18 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I think you need to put in many -d clauses.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
VivekMeshram
PostPosted: Wed Feb 06, 2008 4:25 pm    Post subject: Reply with quote

Voyager

Joined: 25 Mar 2002
Posts: 83

Hi AJ,
Sorry my mistake. I thought you are using MB v5.

The command that you are using should work on MB v6 as follows
mqsideploy -i <ip> -p <port> -q <QM> -b <BRK> -e <EG> -d MsgFlow1:MsgFlow2:MsgFlow3

I hope you using this command using V6 Command consol. What BIP error you are getting while executing this command and which CSD level has been applied?
_________________
Thanks
Vivek S Meshram.

·IBM Certified Specialist – IBM WebSphere MQ v5.3 / v5.2
Back to top
View user's profile Send private message Send e-mail
mqmatt
PostPosted: Thu Feb 07, 2008 4:02 am    Post subject: Reply with quote

Grand Master

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

You can't put in multiple -d clauses in a single command. If you duplicate a flag then you'll get a BIP1033 message. Instead you have to separate multiple message flows using a single -d parameter followed by a colon delimited list.

There's no reason why you shouldn't be able to specify more than two flows to remove; the v6/v6.1 Java code actually that does the splitting is of the form String[] arrayOfObjectsToRemove = objectNames.split(":"); ... which will work for an indefinite number of elements.

As Vivek says, what error message do you get?
Back to top
View user's profile Send private message
AJStar
PostPosted: Thu Feb 07, 2008 8:42 pm    Post subject: Reply with quote

Acolyte

Joined: 27 Jun 2007
Posts: 64

VivekMeshram wrote:
I hope you using this command using V6 Command consol.


Yes, I am using V6 Command Console in Windows.

mqmatt wrote:
As Vivek says, what error message do you get?


BIP8081E: An error occurred while processing the command.

Regards
AJ
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 07, 2008 9:03 pm    Post subject: Reply with quote

Grand High Poobah

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

Does the third flow name have a space in it?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
AJStar
PostPosted: Thu Feb 07, 2008 9:28 pm    Post subject: Reply with quote

Acolyte

Joined: 27 Jun 2007
Posts: 64

Nope.
No spaces in any of the flow names.
_________________
Regards
AJ
Back to top
View user's profile Send private message
VivekMeshram
PostPosted: Thu Feb 07, 2008 10:05 pm    Post subject: Reply with quote

Voyager

Joined: 25 Mar 2002
Posts: 83

Hi AJ,

Ideally there is no problem with multiple messageflows...
Can you please paste here the complete command and out put of this command that is appearing on command window screen like as.
-------------------------------------------------------------------------------------
C:\IBM\WBIMBV6>mqsideploy -i localhost -p 1418 -q MBV6QM -b MBV6BK -e default -d TEST:TT:TT_TT
BIP1044I: Connecting to the Configuration Manager's queue manager...
BIP1045I: Connecting to the Configuration Manager...
BIP1062I: Removing the following objects from execution group 'default':
TEST.cmf TT.cmf TT_TT.cmf
BIP1092I: Broker MBV6BK successfully processed the deployment request.
-------------------------------------------------------------------------------------
_________________
Thanks
Vivek S Meshram.

·IBM Certified Specialist – IBM WebSphere MQ v5.3 / v5.2
Back to top
View user's profile Send private message Send e-mail
AJStar
PostPosted: Thu Feb 07, 2008 10:17 pm    Post subject: Reply with quote

Acolyte

Joined: 27 Jun 2007
Posts: 64

Succes case:

D:\IBM\MQSI\6.0>mqsideploy -i localhost -p 2414 -q QMGR237 -b BRK237
-e default -d com.iap.RequestMsgFlow:com.iap.ResponseMsgFlow
BIP1044I: Connecting to the Configuration Manager's queue manager...
BIP1045I: Connecting to the Configuration Manager...
BIP1062I: Removing the following objects from execution group 'default':
com.iap.RequestMsgFlow.cmf com.iap.ResponseMsgFlow.cmf
BIP1092I: Broker BRK237 successfully processed the deployment request.

Failure case:

D:\IBM\MQSI\6.0>mqsideploy -i localhost -p 2414 -q QMGR237 -b BRK237 -e default -d com.iap.RequestMsgFlow:com.iap.ResponseMsgFlow:com.iap.ORResponseMsgFlow
BIP8081E: An error occurred while processing the command.
An error has occurred while the command was running. The command has cleaned up and terminated.
Use messages prior to this one to determine the cause of the error. Correct the problem and retry the command. Check for some common problems :- Does the userid have the correct authorities (for example a member of the mqbrkrs group)? Is the broker database started and operating correctly? Is any operating system limit set too low to allow the command to run? Is the environment correctly setup? Contact your IBM support center if you are unable to resolve the problem.
_________________
Regards
AJ
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Feb 08, 2008 4:00 am    Post subject: Reply with quote

Grand High Poobah

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

Looks like PMR time. Before that are you sure about the 3rd flow name? Are all 3 flows still present when you run the command?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
AJStar
PostPosted: Fri Feb 08, 2008 4:11 am    Post subject: Reply with quote

Acolyte

Joined: 27 Jun 2007
Posts: 64

fjb_saper wrote:
Looks like PMR time.


fjb_saper wrote:
Before that are you sure about the 3rd flow name? Are all 3 flows still present when you run the command?


Ya, I was able to undeploy all flows by issuing 2 mqsideploy deploy commands with 2 (or less) flows in each.
_________________
Regards
AJ
Back to top
View user's profile Send private message
VivekMeshram
PostPosted: Sun Feb 10, 2008 4:19 pm    Post subject: Reply with quote

Voyager

Joined: 25 Mar 2002
Posts: 83

Hi AJ,

I have tried and it does work for me. Not to sure why its not working for you. May be environment setup…or CSD level…
------------------------------------------------------------------------------------------------------------
C:\IBM\WBIMBV6>mqsideploy -i localhost -p 1418 -q MBV6QM -b MBV6BK -e default -d com.iap.RequestMsgFlow:com.iap.ResponseMsgFlow:com.iap.ORResponseMsgFlow
BIP1044I: Connecting to the Configuration Manager's queue manager...
BIP1045I: Connecting to the Configuration Manager...
BIP1062I: Removing the following objects from execution group 'default':
com.iap.RequestMsgFlow.cmf com.iap.ResponseMsgFlow.cmf com.iap.ORResponseMsgFlow.cmf
BIP1092I: Broker MBV6BK successfully processed the deployment request.
_________________
Thanks
Vivek S Meshram.

·IBM Certified Specialist – IBM WebSphere MQ v5.3 / v5.2
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Unable to undeploy more than 2 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.