Author |
Message
|
7207165620 |
Posted: Thu Aug 08, 2013 2:20 pm Post subject: Bar file does not override |
|
|
Apprentice
Joined: 11 Apr 2013 Posts: 37
|
Hi everyone,
I am trying to override bar using 'mqsiapplybaroverride', command executes successfully but changes do not affect to bar. Below is the command
[mqsi@KCBEBSTEST barfiles]$ mqsiapplybaroverride -b SWIFT_03_08.bar -m KCB_SWIFT_T24_MSGFLOW#SWIFT_INPUT_QUEUE.queueName=TEST.SWIFT.INQ
BIP1138I: Applying overrides using runtime mqsiapplybaroverride...
BIP1143I: Saving Bar file SWIFT_03_08.bar...
BIP8071I: Successful command completion.
I checked bar with mqsireadbar but found queue name unchanged.
I tried with properties file too but still unable to override bar.
mqsiapplybaroverride -b SWIFT_03_08.bar -p override.properties
Thanks in advance
 |
|
Back to top |
|
 |
dogorsy |
Posted: Thu Aug 08, 2013 10:20 pm Post subject: |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
and you think that anyone will be able to help with the information you provided ?.
You can see the values in the bar file, but we cannot, so it is impossible to know what you are trying to change.
The mqsiapplybaroverride command has a trace option. Use it and see what is happening. |
|
Back to top |
|
 |
dogorsy |
Posted: Thu Aug 08, 2013 10:54 pm Post subject: |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
ok, I can see you don't have a clue. You are trying to override some parameters, when they are found, they get replaced and you will get messages similar to ones below ( the ones below are using my own bar file, so the names are different to yours )
BIP1138I: Applying overrides using runtime mqsiapplybaroverride...
BIP1140I: Overriding property CustomerMsgFlow#CustomerDetails.dataSource with 'SEBLPRD8' in 'ManageCustomer.appzip/META-INF/broker.xml' ...
You are not getting any such message, which means your property is not found. So, you either specified the wrong property ( misspelling, which I do not think is the case ), OR the command you are executing is wrong/incomplete. So review the command you are issuing and compare with the command syntax. I know what the answer is, but with these clues, you should be able to solve the problem yourself, which is what you should have done to start with...
Last edited by dogorsy on Fri Aug 09, 2013 12:38 am; edited 1 time in total |
|
Back to top |
|
 |
kash3338 |
Posted: Thu Aug 08, 2013 11:45 pm Post subject: Re: Bar file does not override |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
7207165620 wrote: |
I checked bar with mqsireadbar but found queue name unchanged.
I tried with properties file too but still unable to override bar. |
Try specifying "-o" parameter with a different directory path (something like "D:\SWIFT_03_08.bar". To make changes to the the mqsi folder, generally you will need to provide admin privileges in windows and the bar would not get overridden with this command.
Try something like below,
Code: |
mqsiapplybaroverride -b SWIFT_03_08.bar -m KCB_SWIFT_T24_MSGFLOW#SWIFT_INPUT_QUEUE.queueName=TEST.SWIFT.INQ -o D:\temp\SWIFT_03_08.bar |
|
|
Back to top |
|
 |
dogorsy |
Posted: Thu Aug 08, 2013 11:48 pm Post subject: Re: Bar file does not override |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
kash3338 wrote: |
7207165620 wrote: |
I checked bar with mqsireadbar but found queue name unchanged.
I tried with properties file too but still unable to override bar. |
Try specifying "-o" parameter with a different directory path (something like "D:\SWIFT_03_08.bar". To make changes to the the mqsi folder, generally you will need to provide admin privileges in windows and the bar would not get overridden with this command.
Try something like below,
Code: |
mqsiapplybaroverride -b SWIFT_03_08.bar -m KCB_SWIFT_T24_MSGFLOW#SWIFT_INPUT_QUEUE.queueName=TEST.SWIFT.INQ -o D:\temp\SWIFT_03_08.bar |
|
the -o will not have any effect. If you don't know, keep quiet |
|
Back to top |
|
 |
kash3338 |
Posted: Fri Aug 09, 2013 1:50 am Post subject: Re: Bar file does not override |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
dogorsy wrote: |
the -o will not have any effect. |
How do you say this? On what basis do you misquote this? Have you tried it in your system once?
I have posted here on basis of what I tried and not just like that.
I did this and I faced this issue and "-o" finally worked out for me. I face the warning "Destination folder access denied" warning every time i try to load some bar file in the MQSI/7.0 directory in windows and hence when I try giving a different location using "-o" the BAR file got generated with the values overridden.
dogorsy wrote: |
If you don't know, keep quiet |
This forum is basically to share the technical exp on few issues others have and if someone sees a problem that they have come across before, there is nothing wrong in sharing the solution they had.
I have been using this forum for few years now and have learnt a lot from the many experts here but have never come across a user of this sort who is just ready to misquote blindly on any post. There are many ways you can misquote a person on what he says, but this is just a annoying way to do that! If you have a valid solution to point out, please do that and no one stops you, but please stop making rubbish comments like this.
Let the OP try this solution and come back and say whether it helped him in any way! If its a different solution for him, I am going to learn from that. |
|
Back to top |
|
 |
dogorsy |
Posted: Fri Aug 09, 2013 2:32 am Post subject: Re: Bar file does not override |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
kash3338 wrote: |
dogorsy wrote: |
the -o will not have any effect. |
How do you say this? On what basis do you misquote this? Have you tried it in your system once?
I have posted here on basis of what I tried and not just like that.
I did this and I faced this issue and "-o" finally worked out for me. I face the warning "Destination folder access denied" warning every time i try to load some bar file in the MQSI/7.0 directory in windows and hence when I try giving a different location using "-o" the BAR file got generated with the values overridden.
dogorsy wrote: |
If you don't know, keep quiet |
This forum is basically to share the technical exp on few issues others have and if someone sees a problem that they have come across before, there is nothing wrong in sharing the solution they had.
I have been using this forum for few years now and have learnt a lot from the many experts here but have never come across a user of this sort who is just ready to misquote blindly on any post. There are many ways you can misquote a person on what he says, but this is just a annoying way to do that! If you have a valid solution to point out, please do that and no one stops you, but please stop making rubbish comments like this.
Let the OP try this solution and come back and say whether it helped him in any way! If its a different solution for him, I am going to learn from that. |
The OP is not saying he is getting "Destination folder access denied" , so the one talking rubbish here is you. If you read properly you will see that he is getting the message
Quote: |
BIP1143I: Saving Bar file SWIFT_03_08.bar... |
so there is no problem with writing to the folder, and your comment is confusing the issue. SO, IF YOU DON'T KNOW, KEEP QUIET.
I know what the answer is, but I have given the OP enough info to work it out for himself so that the next time he does not need to ask. Maybe you should do the same, READ before posting any rubbish. |
|
Back to top |
|
 |
dogorsy |
Posted: Fri Aug 09, 2013 2:38 am Post subject: |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
Quote: |
I have posted here on basis of what I tried and not just like that. |
Exactly, you posted on something that happened to you, which is irrelevant to what the OP reported !! |
|
Back to top |
|
 |
kash3338 |
Posted: Fri Aug 09, 2013 2:42 am Post subject: Re: Bar file does not override |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
dogorsy wrote: |
The OP is not saying he is getting "Destination folder access denied" , so the one talking rubbish here is you. If you read properly you will see that he is getting the message
Quote: |
BIP1143I: Saving Bar file SWIFT_03_08.bar... |
|
Quote: |
C:\Program Files\IBM\MQSI\7.0>mqsiapplybaroverride -b CheckFlow.msgflow.generate
d.bar -m CheckFlow#MQInput.queueName=OUT
BIP1137I: Applying overrides using toolkit mqsiapplybaroverride...
BIP1140I: Overriding property CheckFlow#MQInput.queueName with 'OUT'...
BIP1143I: Saving Bar file CheckFlow.msgflow.generated.bar... |
The above is the message I get when I try to run the command in the mentioned folder and I see no trace of the error info. I said as below,
Quote: |
I face the warning "Destination folder access denied" warning every time i try to load some bar file in the MQSI/7.0 directory in windows |
Why not you try once on what I faced and check if that works out to you? Though I get the message as quoted above (similar to what the OP gets), I do not see the property getting overridden and it does work when I set the "-o" parameter.
dogorsy wrote: |
I know what the answer is, but I have given the OP enough info to work it out for himself so that the next time he does not need to ask. |
Well, that's up to you to say the answer or leave it, but you cant just stop others! No one is confusing here, neither you nor me. Again I repeat what I said,
Quote: |
Let the OP try this solution and come back and say whether it helped him in any way! If its a different solution for him, I am going to learn from that. |
|
|
Back to top |
|
 |
dogorsy |
Posted: Fri Aug 09, 2013 2:59 am Post subject: Re: Bar file does not override |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
kash3338 wrote: |
Quote: |
C:\Program Files\IBM\MQSI\7.0>mqsiapplybaroverride -b CheckFlow.msgflow.generate
d.bar -m CheckFlow#MQInput.queueName=OUT
BIP1137I: Applying overrides using toolkit mqsiapplybaroverride...
BIP1140I: Overriding property CheckFlow#MQInput.queueName with 'OUT'...
BIP1143I: Saving Bar file CheckFlow.msgflow.generated.bar... |
The above is the message I get when I try to run the command in the mentioned folder and I see no trace of the error info. |
I do not see the -o in your mqsiapplybaroverride command , and it works , so YOU ARE TALKING RUBBISH ...
your bar file is different to the one that the OP is using.
So the OP could go and read the documentation before posting a question or trying out any rubbish that people like you suggest.
if you were a bit more professional, you would go and read the documentation rather that giving as a solution whatever worked for you and confusing the issue. The excerpt below is from the description of the mqsiapplybaroverride in the infocentre
Quote: |
-r(Optional) Specifies that all deployment descriptor files are updated recursively, including any in nested applications (.appzip files) and libraries (.libzip files).
You can set the starting point for the -r parameter to the BAR file or an application. If you set the -r and -k (application name) parameters, deployment descriptors are updated for that application and all libraries nested in that application. If you set the -r and -y (library name) parameters, the -r parameter has no effect because a library does not have nested applications or libraries. Therefore, the deployment descriptor is updated for that library only. If you do not set the -k or -y parameters, the -r parameter specifies that deployment descriptors in all applications and libraries in the BAR file are updated. |
|
|
Back to top |
|
 |
kash3338 |
Posted: Fri Aug 09, 2013 3:09 am Post subject: Re: Bar file does not override |
|
|
Shaman
Joined: 08 Feb 2009 Posts: 709 Location: Chennai, India
|
dogorsy wrote: |
I do not see the -o in your mqsiapplybaroverride command , and it works |
I said this,
kash3338 wrote: |
Quote: |
C:\Program Files\IBM\MQSI\7.0>mqsiapplybaroverride -b CheckFlow.msgflow.generate
d.bar -m CheckFlow#MQInput.queueName=OUT
BIP1137I: Applying overrides using toolkit mqsiapplybaroverride...
BIP1140I: Overriding property CheckFlow#MQInput.queueName with 'OUT'...
BIP1143I: Saving Bar file CheckFlow.msgflow.generated.bar... |
The above is the message I get when I try to run the command in the mentioned folder and I see no trace of the error info.
.
.
Though I get the message as quoted above (similar to what the OP gets), I do not see the property getting overridden and it does work when I set the "-o" parameter.
|
dogorsy wrote: |
your bar file is different to the one that the OP is using. |
Of-course Yes!
Your quote from the infocentre was helpful, let us wait and see what the OP comes up with. |
|
Back to top |
|
 |
dogorsy |
Posted: Fri Aug 09, 2013 3:13 am Post subject: Re: Bar file does not override |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
kash3338 wrote: |
dogorsy wrote: |
I do not see the -o in your mqsiapplybaroverride command , and it works |
I said this,
kash3338 wrote: |
Quote: |
C:\Program Files\IBM\MQSI\7.0>mqsiapplybaroverride -b CheckFlow.msgflow.generate
d.bar -m CheckFlow#MQInput.queueName=OUT
BIP1137I: Applying overrides using toolkit mqsiapplybaroverride...
BIP1140I: Overriding property CheckFlow#MQInput.queueName with 'OUT'...
BIP1143I: Saving Bar file CheckFlow.msgflow.generated.bar... |
The above is the message I get when I try to run the command in the mentioned folder and I see no trace of the error info.
.
.
Though I get the message as quoted above (similar to what the OP gets), I do not see the property getting overridden and it does work when I set the "-o" parameter.
|
dogorsy wrote: |
your bar file is different to the one that the OP is using. |
Of-course Yes!
Your quote from the infocentre was helpful, let us wait and see what the OP comes up with. |
@7207165620 please try your original command adding the -r flag .
@kash3338 if that works, will you admit publicly that you were talking rubbish ? |
|
Back to top |
|
 |
vishnurajnr |
Posted: Fri Aug 09, 2013 3:41 am Post subject: |
|
|
 Centurion
Joined: 08 Aug 2011 Posts: 134 Location: Trivandrum
|
Dear dogorsy,
Request you to be bit more polite.. May be you know are the most knowledgebile perosn here.. Nobody is challenging you.. And nobody is asking help from you personally as well.
If not you, some one else will help.. Thats Y this is been a forum.
Have u seen the way 'mgk' answers in this forum..
I respect your knwoledge, but give some respect to otherss too.. There are many peopel who is browsing this forum for a long time..
Quote: |
You're heading for hypertension, baldness and insanity |
_________________ -------
A man is great by deeds, not by birth...! |
|
Back to top |
|
 |
dogorsy |
Posted: Fri Aug 09, 2013 3:47 am Post subject: |
|
|
Knight
Joined: 13 Mar 2013 Posts: 553 Location: Home Office
|
vishnurajnr wrote: |
Dear dogorsy,
Request you to be bit more polite.. May be you know are the most knowledgebile perosn here.. Nobody is challenging you.. And nobody is asking help from you personally as well.
If not you, some one else will help.. Thats Y this is been a forum.
Have u seen the way 'mgk' answers in this forum..
I respect your knwoledge, but give some respect to otherss too.. There are many peopel who is browsing this forum for a long time..
Quote: |
You're heading for hypertension, baldness and insanity |
|
Thanks for your comment, but if you follow the thread, you will see that kash3338 started by saying I was talking rubbish.
His original comment had nothing to do with the reported problem, and it was confusing the issue, which is exactly what the originator does not need.
Only because he had a problem with the mqsiapplybaroverride command once in the past and solved it with whatever the solution was, it does not mean the same solution will apply to everyone, so he should keep quiet.
There is nothing wrong with saying that. |
|
Back to top |
|
 |
7207165620 |
Posted: Fri Aug 09, 2013 5:15 am Post subject: Bar file does not override |
|
|
Apprentice
Joined: 11 Apr 2013 Posts: 37
|
Thanks all,
After specifying '-r' I am able to override bar.
I apologize as I could not figure out a simple thing and moreover I feel like the culprit for the happening here.
Thanks Dogorsy,
May experience suggested by kash3338 not be solution for my concern,but this conversation could have been in a friendly manner as we belong to same planet & we are united & moreover we all belong to one of the greatest forum where one gets response the instant when does a post.
I hope you don't take any other way and I really appreciate the way my fellow seniors responded. |
|
Back to top |
|
 |
|