IBM Support

PI82255: CALL IN VIOLATION OF PROTOCOL MESSAGE DURING ANNOTATION SCANNING

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Warning during annotation scanning.  code is not handling the
    case of an annotation which has defined a default value for an
    annotation attribute which has an annotation as
    its value.
    

Local fix

  • Warning can be ignored
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server having applications with             *
    *                  annotations that define a default value     *
    *                  for an attribute which is also an           *
    *                  annotation. Not common.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: During deployment there is a warning    *
    *                      message "Call in violation of           *
    *                      protocol" in the SystemOut.log file.    *
    ****************************************************************
    * RECOMMENDATION:  The message can be ignored.                 *
    ****************************************************************
    WebSphere Application Server deployment code scans applications
    to find annotations during deployment of the application. The
    scanning code does not handle the case where an annotation has
    defined a default value for an annotation attribute which has
    an annotation as its value.  A warning message is logged in
    this
    case.
    In the example below, the Author annotation specifies the Date
    annotation as a default value.
    public @interface Date {
    int day() default 1;
    int month() default 1;
    int year() default 2017;
    }
    public @interface Author {
    String name();
    Date date() default @Date(year=2020);
    }
    

Problem conclusion

  • This case does not need to be implemented since
    Java EE does not define any annotations that specify a default
    value that is also an annotation.  The warning message is
    unnecessary and can be ignored.  The code has been modified to
    remove the warning message.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.13 and 9.0.0.5.  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

    PI82255

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-05-29

  • Closed date

    2017-06-05

  • Last modified date

    2017-06-05

  • 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

  • R850 PSY

       UP

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
18 October 2021