App Connect

 View Only
  • 1.  Appconnect mqsiapplybaroverride

    Posted Sun July 11, 2021 12:34 PM
    Hi Team,

       I have created UDP named as
      currentEnv=Local in my app connect.

    I have created the property file and bar file.

    My variable is present in broker.xml file also

    <ConfigurableProperty override="LOCAL" uri="variableTest#currentEnv"/>

    When I run the mqsiapplybaroverride command I am getting below error. Please do the needful

    C:\Program Files\IBM\ACE\11.0.0.13>mqsiapplybaroverride -b D:\ESQLVariable.bar -p D:\ESQLVariable_Dev.properties -r
    BIP1138I: Applying overrides using runtime mqsiapplybaroverride...
    BIP1144W: Ignoring property override 'currentEnv' in 'ESQLVariable.appzip/META-INF/broker.xml'

    The property override 'currentEnv' was ignored because it does not correspond to an existing property value that can be replaced, nor is it in the correct format for a property identifier.

    If the override was intended to be a property identifier, ensure that the format of the identifier is 'flow#node.property' or 'flow#property'. Use the mqsireadbar command to list the property names that can be overridden in a specific BAR file. . If the override was intended to be a an existing property value, ensure that the property value is currently set in the deployment descriptor. If the value exists in the deployment descriptor, it may not have been found because it had already been set to something else earlier in the override processing. For example, if using mqsiapplybaroverride with both the -p and -m flags set, note that overrides specified through -p are made before overrides specified through -m. This means that the manual overrides will be made to a deployment descriptor that has already had any substitutions from the overrides file made. . If you are seeing this error message on the z/OS platform and are using an XML-based overrides file, ensure that the correct encoding is specified in the XML header.
    BIP1143I: Saving Bar file D:\ESQLVariable.bar...

    BIP8071I: Successful command completion.

    C:\Program Files\IBM\ACE\11.0.0.13>


    ------------------------------
    SELVAKUMAR ANANTHARAJ
    ------------------------------


  • 2.  RE: Appconnect mqsiapplybaroverride

    IBM TechXchange Speaker
    Posted Mon July 26, 2021 01:48 PM
    Hi Selvakumar, 

    We couldn't see the contents of the D:\ESQLVariable_Dev.properties file that is being used in the mqsiapplybaroverride command. But one of our technical experts has a guess that the file has listed the override as: 
    currentEnv=ANewValue
    whereas this needs to be of the form:
    variableTest#currentEnv=ANewValue
    where "variableTest" is the name of the message flow and matches what was show in the broker.xml file of:
    <ConfigurableProperty override="LOCAL" uri="variableTest#currentEnv"/>
    I hope that helps!

    ------------------------------
    Stephanie Wilkerson
    IBM
    ------------------------------



  • 3.  RE: Appconnect mqsiapplybaroverride

    Posted Tue July 27, 2021 01:15 PM
    Thanks Stephanie Wilkerson This solution works!!!

    ------------------------------
    SELVAKUMAR ANANTHARAJ
    ------------------------------