IBM Support

PM75338: APPLICATION FAILS TO INSTALL DURING WASPOSTUPGRADE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • During WASPostUpgrade the application fails to install on the
    target profile.
    Looking at the generated jython install script for the
    application, it is missing the module's target information.
    Looking at the trace file, it indicates that there is a
    malformed Deployment Descriptor for that module.
    Looking in the Deployment Descriptor, it seems to be OK,
    however, the generated *_merged.xml is malformed and cannot be
    validated against the schema.
    
    Here is an example of the exception:
    [10/10/12 12:00:13:058 GMT+08:00] 00000000 wtp           2
    org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EJBJarFileI
    mpl getDeploymentDescriptor THROW
    org.eclipse.jst.j2ee.commonarchivecore.internal.exception.Deploy
    mentDescriptorLoadException: META-INF/ejb-jar.xml
    Stack trace of nested exception:
    java.lang.IllegalArgumentException: The 'no duplicates'
    constraint is violated at
    org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:642)
    
    Here is the part of the ejb-jar_merged.xml causing the problem:
    ...
     <assembly-descriptor>
            <security-role>
                <role-name>twuser</role-name>
            </security-role>
            <method-permission>
                <role-name>twuser</role-name>
                <role-name>twuser</role-name>
    ...
    ##The above line is a duplicated due to annotation - and
    violates the schema.##
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.0 and V8.5 Configuration          *
    *                  Migration tools                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: Some applications are failing to        *
    *                      install as they are missing targeting   *
    *                      information for one or more modules.    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The generated *_merged.xml may contain malformed xml data.
    Thus the WASPostUpgrade command cannot retrieve the proper
    data to construct the application install jython script.
    

Problem conclusion

  • If the merged data contains malformed data, then we have
    WASpostUpgrade retry getting the information with the option
    to bypass the previously generated merged data. Although a bit
    of a performance hit, this retry allows WASPostUpgrade to
    obtain the information needed to generate the correct
    application install jython script.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.6 and 8.5.0.2.  Please refer to the Recommended
    Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM75338

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-18

  • Closed date

    2012-10-23

  • Last modified date

    2012-10-23

  • 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.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 October 2021