Hi Mayank.
Do you have a library or applicatino in that bar file?
If you do than you need to specify the -r option and see how that works out.
mqsiapplybaroverride -b <Bar_file name> -p broker.xml -r
In bar files with an app/lib the broker.xml is nested in the appzip or libzip inside the barfile.
Should the layout of the broker.xml be different, you can also extract only the properties that need to be overriden and put them in a properties file that has entries like this:
test#HTTP Input.URLSpecifier = /java
You can also retreive a list of entries via the mqsireadbar command
mqsireadbar -b <Bar_file name> -p broker.xml -r
Hope this helps.
------------------------------
Regards
Matthias Blomme
------------------------------
Original Message:
Sent: Mon February 13, 2023 12:43 AM
From: Mayank Bhowate
Subject: mqsiapplybaroverride command override file to ace12 bar file from iib10 broker.xml file ?
I'm having broker.xml file of IIB10 version this i want to override with ace12 bar file , will override is possible in this case ??
i tried running this command on ace12 console
mqsiapplybaroverride -b <Bar_file name> -p broker.xml
it given following error :
BIP1138I: Applying overrides using runtime mqsiapplybaroverrides...
BIP1055W: The BAR file did not contain a top-level deployment descriptor.
The BAR file did not contain a top-level deployment descriptor. The command-line options that were supplied to the command were not set to search for application or library level deployment descriptors. Any overrides have not been applied.
Ensure the bar file contains a top-level deployment descriptor or repeat the command with either the -k, -y, or -r flags set.
Any solution to this problem ?
Thanks in advanced !!
------------------------------
Mayank Bhowate
------------------------------