IBM Support

PH28816: During server startup, the warning "Unconverted adapt to web annotations" appears in server logs.

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When starting the server, the warning "Unconverted adapt to
    web containers" appears in server logs.
    
    The warning is accompanied by a stack trace, for example:
    
    container.service.annotations.internal.WebAnnotationsAdapter
    W Unconverted adapt to web annotations
     java.lang.Throwable: Unconverted adapt to web annotations
    at
    com.ibm.ws.container.service.annotations.internal.WebAnnotat
    ionsAdapter.adapt(WebAnnotationsAdapter.java:78)
    at
    com.ibm.ws.container.service.annotations.internal.WebAnnotat
    ionsAdapter.adapt(WebAnnotationsAdapter.java:31)
    at
    com.ibm.ws.adaptable.module.internal.AdapterFactoryServiceIm
    pl.adapt(AdapterFactoryServiceImpl.java:200)
    at
    com.ibm.ws.adaptable.module.internal.AdaptableContainerImpl.
    adapt(AdaptableContainerImpl.java:174)
    at
    com.ibm.ws.openapi.internal.AnnotationScanner.<init>(Annotat
    ionScanner.java:82)
    
    In this case, the warning can be ignored.  The warning does
    not indicate a functional problem.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: During server startup, the warning      *
    *                      "Unconverted adapt to web annotations"  *
    *                      appears in server logs.                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When starting the server, the warning "Unconverted adapt to web
    containers" appears in server logs.
    
    The warning is accompanied by a stack trace, for example:
    
    container.service.annotations.internal.WebAnnotationsAdapter W
    Unconverted adapt to web annotations
     java.lang.Throwable: Unconverted adapt to web annotations
      at
    com.ibm.ws.container.service.annotations.internal.WebAnnotations
    Adapter.adapt(WebAnnotationsAdapter.java:78)
      at
    com.ibm.ws.container.service.annotations.internal.WebAnnotations
    Adapter.adapt(WebAnnotationsAdapter.java:31)
      at
    com.ibm.ws.adaptable.module.internal.AdapterFactoryServiceImpl.a
    dapt(AdapterFactoryServiceImpl.java:200)
      at
    com.ibm.ws.adaptable.module.internal.AdaptableContainerImpl.adap
    t(AdaptableContainerImpl.java:174)
      at
    com.ibm.ws.openapi.internal.AnnotationScanner.<init>(AnnotationS
    canner.java:82)
    

Problem conclusion

  • The warning indicates that a code location was not updated to
    use improved annotation scanning code, which added caching
    capabilities.  There should be no functional problems.  However,
    the code is not using the latest annotation scanning code, and
    is missing performance improvements provided by that code.
    
    The problem was fixed by updating
    "com.ibm.ws.openapi.internal.AnnotationScanner" to use the
    latest annotation scanning code.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 20.0.0.10.  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

    PH28816

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-08-25

  • Closed date

    2020-09-14

  • Last modified date

    2020-09-14

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

[{"Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0"}]

Document Information

Modified date:
15 September 2020