Author |
Message
|
AJStar |
Posted: Tue Feb 05, 2008 8:50 pm Post subject: Unable to undeploy more than 2 flows |
|
|
 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 |
|
 |
VivekMeshram |
Posted: Tue Feb 05, 2008 10:59 pm Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Wed Feb 06, 2008 2:18 am Post subject: |
|
|
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 |
|
 |
VivekMeshram |
Posted: Wed Feb 06, 2008 4:25 pm Post subject: |
|
|
 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 |
|
 |
mqmatt |
Posted: Thu Feb 07, 2008 4:02 am Post subject: |
|
|
 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 |
|
 |
AJStar |
Posted: Thu Feb 07, 2008 8:42 pm Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Thu Feb 07, 2008 9:03 pm Post subject: |
|
|
 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 |
|
 |
AJStar |
Posted: Thu Feb 07, 2008 9:28 pm Post subject: |
|
|
 Acolyte
Joined: 27 Jun 2007 Posts: 64
|
Nope.
No spaces in any of the flow names. _________________ Regards
AJ |
|
Back to top |
|
 |
VivekMeshram |
Posted: Thu Feb 07, 2008 10:05 pm Post subject: |
|
|
 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 |
|
 |
AJStar |
Posted: Thu Feb 07, 2008 10:17 pm Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Fri Feb 08, 2008 4:00 am Post subject: |
|
|
 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 |
|
 |
AJStar |
Posted: Fri Feb 08, 2008 4:11 am Post subject: |
|
|
 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 |
|
 |
VivekMeshram |
Posted: Sun Feb 10, 2008 4:19 pm Post subject: |
|
|
 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 |
|
 |
|