IBM Support

PI28415: WASpostUpgrade on the deployment manager shows MIGR0440W... SaveFailureException

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Running WASpostUpgrade.sh on the DMGR completes but shows
    warnings:
    MIGR0440W: The migration of one or more applications terminated
    unexpectedly.
    org.eclipse.jst.j2ee.commonarchivecore.internal.exception.
    SaveFailureException: Failed to save
     [ /hibernate-distribution-x.x.x-xxxxx.pom ]
    ---
    The trace shows:
    BasicDocument 1
    getChild(XXXXX_EAR.ear) <
    file:/opt/websphere85/AppServer/profiles/DMGR/config/cells
    /cell01/applications/XXXXX_EAR.ear/ ~
    file:/opt/websphere85/AppServer/profiles/DMGR/config/cells
    /cell01/applications/XXXXX_EAR.ear/
    [9/8/14 15:51:41:789 EDT] 00000001 LoggerImpl    1
     MIGR0440W: The migration of one or more applications terminated
    unexpectedly.
    org.eclipse.jst.j2ee.commonarchivecore.internal.exception.
    SaveFailureException: Failed to save [
    /hibernate-distribution-x.x.x.-xxxxx.pom ]
    Stack trace of nested exception:
    java.io.FileNotFoundException:
    /hibernate-distribution-x.x.x.-xxxxx.pom
    (The file access permissions do not allow the specified action.)
    

Local fix

  • None
     -
    Keywords: mig migration WCCM archives WEB-INF/lib
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.0 and v8.5.5 Migration Tooling    *
    ****************************************************************
    * PROBLEM DESCRIPTION: The generated jython script for         *
    *                      installing the application is missing   *
    *                      target information. The WASPostUpgrade  *
    *                      log is showing a SaveFailureException   *
    *                      when the ear is being expanded.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    An archive in the application contains an absolute path based
    on the root directory.  In addition the userid running the
    migration does not have permission to create or write to the
    root directory.  This is causing the SaveFailureException,
    which then causes the code to skip over determining the server
    and cluster targets of the application, which causes the
    jython script to be incomplete.
    

Problem conclusion

  • In release v8.0, ejbs in WARs were introduced.  Thus the
    archives in the WEB-INF/lib directory were assigned their own
    flag for controling whether they should be expanded when the
    EAR is expanded.  Migration code did not know about this
    change and began processing all those WEB-INF/lib archives
    which led to this error.  Solution was to add this additional
    flag to skip expanding archives in the WEB-INF/lib directory.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.11 and 8.5.5.5.  Please refer to the
    Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

  • Grant temporary permission to the migration userid to be able
    to create and write to the root directory.  Or determine the
    absolute path(s) in the archive and have a userid with
    permission create them and give access to the migration userid.
    

Comments

APAR Information

  • APAR number

    PI28415

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-10-24

  • Closed date

    2014-12-15

  • Last modified date

    2014-12-15

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022