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

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

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



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Mobile Foundation

Software version:

5.0

Reference #:

PM80492

Modified date:

2013-01-12

Translate my page

Machine Translation

Content navigation