IBM Support

PM85177: WEBSPHERE ANNOTATION PROCESSING FAILS WITH ERROR CWWAM1303E - INTERFACE DOES NOT DEFINE A VALID REMOTE BUSINESS INTERFACE

Fixes are available

8.0.0.8: WebSphere Application Server V8.0 Fix Pack 8
8.5.5.2: WebSphere Application Server V8.5.5 Fix Pack 2
8.0.0.9: WebSphere Application Server V8.0 Fix Pack 9
8.5.5.3: WebSphere Application Server V8.5.5 Fix Pack 3
8.5.5.4: WebSphere Application Server V8.5.5 Fix Pack 4
8.0.0.10: WebSphere Application Server V8.0 Fix Pack 10
8.5.5.5: WebSphere Application Server V8.5.5 Fix Pack 5
8.5.5.6: WebSphere Application Server V8.5.5 Fix Pack 6
8.0.0.11: WebSphere Application Server V8.0 Fix Pack 11
8.5.5.7: WebSphere Application Server V8.5.5 Fix Pack 7
8.5.5.8: WebSphere Application Server V8.5.5 Fix Pack 8
8.0.0.12: WebSphere Application Server V8.0 Fix Pack 12
8.5.5.9: WebSphere Application Server V8.5.5 Fix Pack 9
8.5.5.10: WebSphere Application Server V8.5.5 Fix Pack 10
8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
8.5.5.20: WebSphere Application Server V8.5.5.20
8.5.5.18: WebSphere Application Server V8.5.5 Fix Pack 18
8.5.5.19: WebSphere Application Server V8.5.5 Fix Pack 19
8.5.5.16: WebSphere Application Server V8.5.5 Fix Pack 16
8.5.5.21: WebSphere Application Server V8.5.5.21

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • WebSphere annotation validation processing fails issuing the
    following errors in the Deployment Manager's SystemOut.log file:
    ----------------------------------------------------------------
    [3/8/13 11:40:35:146 CST] 00005ebf annotations   E   CWWAM0003E:
     An exception occurred while validating an annotation:
    com.ibm.wsspi.amm.validate.ValidationException: CWWAM1303E: The
    interface com.xxxx.yyyy does notdefine a valid remote business
    interface; the method zzzzz does not conform to RMI rules.
    
    com.ibm.wsspi.amm.validate.ValidationException: CWWAM1303E: The
    interface com.xxxx.yyyy does not define a valid remote business
    interface; the method zzzz does not conform to RMI rules.
        at
    com.ibm.ws.amm.validate.ejb.BusinessIntfCommonValidator.validate
    Interfac
    e(BusinessIntfCommonValidator.java:115)
        at
    com.ibm.ws.amm.validate.ejb.BusinessIntfCommonValidator.validate
    (Busines
    sIntfCommonValidator.java:63)
        at
    com.ibm.wsspi.amm.merge.AbstractMergeAction.mergeClassTargets(Ab
    stractMe
    rgeAction.java:353)
        at
    com.ibm.wsspi.amm.merge.AbstractMergeAction.merge(AbstractMergeA
    ction.ja
    va:123)
    ----------------------------------------------------------------
    This is due to a problem in the annotation scanning process
    dealing with a cache that is used to hold the ClassInfo objects
    during the annotation processing. When the cache reaches a
    limit, older objects are removed from it as new ones are added.
    The management of these removed objects causes the annotation
    process to not find the list of interfaces for a class. This is
    causing the annotation validation to fail as it can not confirm
    that a class is a valid RMI type.
    

Local fix

  • Increasing the size of the cache may allow the process to
    complete. The cache size can be changed by defining
    the JVM property: 'classinfocachesize' for the servers
    encountering the error. Set a value greater than the default
    value of 2000.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server using Java EE annotations.           *
    ****************************************************************
    * PROBLEM DESCRIPTION: A CWWAM0003E error message is           *
    *                      displayed during annotation processing  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The problem is due to a program error in the management of a
    cache of class data used by annotations processing.
    Annotation processing scans a class for annotations, adds a
    ClassInfo object for it to a cache of scanned objects, and
    adds the class name to a list. If the cache grows to exceed
    its configured limits, ClassInfo objects will be removed from
    the cache and garbage collected, but the class names are not
    removed from the list of scanned classes.
    This will cause a problem if there is a second reference to
    the original class (from a child class) where a second scan of
    the original class is started but aborted when the class name
    is found on the list of already scanned classes. At this
    point there is an assumption that a ClassInfo objects exists
    even though it has been removed from the cache and garbage
    collected.
    Validation processing then fails because there is no ClassInfo
    object found for the referenced class.
    

Problem conclusion

  • The class scanning function has been changed to recognize the
    scenario described above and do a rescan of the class.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.8 and 8.5.5.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

    PM85177

  • 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

    2013-03-20

  • Closed date

    2013-08-30

  • Last modified date

    2013-08-30

  • 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:
28 April 2022