IBM Support

PI26721: WHEN UPDATING A APPLICTAION USING JMX API , INPUT WITH WAR MODULES DOES NOT WORK.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In WebSphere Application Server V7 release when updating an
    enterprise application using the JMX api and inputting a war
    module for this update operation it throws a
    ClassCastException message . App management code was expecting
    an ear module as a input file instead of a war module.
    

Local fix

  • input entire ear module instead of war module.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: When a user extends application         *
    *                      management operations through           *
    *                      programming and the operation is a      *
    *                      module file update, the extension       *
    *                      codes                                   *
    *                      receive a ClassCastException.           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a user extends application management operations
    through programming and the operation is a module file update,
    the extension codes receive a ClassCastException when calling
    the DeployableObject.getHandle method. The exception would be
    similar to the following:
    java.lang.ClassCastException:
    com.ibm.etools.commonarchive.impl.WARFileImpl incompatible with
    org.eclipse.jst.j2ee.commonarchivecore.internal.EARFile
    at
    com.ibm.ws.management.deployment.j2ee.EARDeployableObject.getHan
    dle(EARDeployableObject.java:209)
    at
    com.ibm.ws.management.deployment.j2ee.EARDeployableObject.getHan
    dle(EARDeployableObject.java:157)
    at ...
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI26721

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-09-30

  • Closed date

    2014-10-21

  • Last modified date

    2014-10-21

  • 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

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2021