IBM Support

PI38325: IT IS IMPOSSIBLE TO DEPLOY A JAVA ADAPTER WITH MORE THAN ONE .XML FILE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The deployment system used to validate that there is only one
    xml file in an adapter filesystem. This validation is not good
    for Java adapters since Java code can contain many xml resources
    and we should not limit the developer regarding the # of xmls.
    

Local fix

  • It is possible to put the xml resources inside a JAR and put
    this jar in the "lib" folder of the adapter.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Server side developers of a MobileFirst project who use Java *
    * adapters                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When trying to deploy a Java adapter with more than one xml  *
    * file, the deployment fails with the following message:       *
    * "Adapters can not contain more than one XML file"            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • There was a non accurate validation that adapter can contain
    only one xml file. The validation has been changed so that the
    adapter should have only one XML file in it's root folder but in
    other folders it can have many XML files. Since all the
    configuration XML files in Java adapters should be in the "src"
    folder it works fine now.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI38325

  • Reported component name

    WL/MFPF CONSUME

  • Reported component ID

    5725I4301

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-02

  • Closed date

    2015-04-30

  • Last modified date

    2015-04-30

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WL/MFPF CONSUME

  • Fixed component ID

    5725I4301

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"700","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 October 2021