IBM Support

PM80492: UNDESIRED MODIFICATIONS IN SERVER.XML OR CONTEXT.XML

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After installing Worklight Server, the server.xml for Liberty,
    or server.xml and context.xml for Tomcat, have long lines and
    alphabetically ordered attributes in elements. Some of the
    original formatting of these files has been lost.
    

Local fix

  • Replace specific parts of the file with the corresponding
    sections of the backup file (server.xml.bak or context.xml.bak).
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of Worklight 5.0.0.x who choose a     *
    *                  preinstalled application server of type     *
    *                  WebSphere Liberty or Tomcat.                *
    ****************************************************************
    * PROBLEM DESCRIPTION: After installing Worklight Server, the  *
    *                      server.xml for Liberty, or server.xml   *
    *                      and context.xml for Tomcat, have long   *
    *                      lines and alphabetically ordered        *
    *                      attributes in elements. Some of the     *
    *                      original formatting of these files has  *
    *                      been lost.                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the Installation Manager based installer modifies XML files
    (server.xml for Liberty, server.xml and context.xml for Tomcat),
    it reorders the list of attributes in every element and removes
    all redundant whitespace in such an attribute list, leaving all
    attributes in one long line.
    

Problem conclusion

  • The code now preserves all formatting details of the XML files.
    
    The fix for this APAR is currently targeted for inclusion in
    fixpack 5.0.5.0.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM80492

  • Reported component name

    MOBILE FNDTN EN

  • Reported component ID

    5725G9200

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-12

  • Closed date

    2013-01-12

  • Last modified date

    2013-01-12

  • 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

    MOBILE FNDTN EN

  • Fixed component ID

    5725G9200

Applicable component levels

  • R500 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4HGH","label":"IBM Mobile Foundation"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"500","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 January 2013