IBM Support

PI30964: EJBS CONFLICTING WITH LISTENER CONFIGURATION AND CDI EVENTS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Exception:
    
    [2014-11-17 08:46:28:023 CET] 00000025 id=
    com.ibm.ws.webcontainer.webapp.WebApp E
    notifyServletContextCreated SRVE0283E: Exception caught while
    initializing context:
    javax.enterprise.context.ContextNotActiveException: WebBeans
    context with scope type annotation @ApplicationScoped does not
    exist within current thread
     at
    org.apache.webbeans.container.BeanManagerImpl.getContext(BeanMan
    ager
     at
    org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler
    .get
     at
    org.apache.webbeans.intercept.ApplicationScopedBeanInterceptorHa
    ndle
    
    
    Is similar to APAR PI19074
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile - Contexts and       *
    *                  Dependency Injection (CDI)                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: EJBs conflicting with listener          *
    *                      configuration and CDI clients           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When listeners for ServletContext events and ServletRequest
    events were coded to inject Application Scoped CDI beans it was
    found that while the beans behaved as expected when the Ejblite
    feature was configured they were out of application scope when
    the Ejblite feature was added to the configuration.
    

Problem conclusion

  • The CDI application context needed to be made available to
    threads other than the thread on which the context was initially
    created.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 8.5.5.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

    PI30964

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-12-04

  • Closed date

    2014-12-18

  • Last modified date

    2014-12-18

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

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

Document Information

Modified date:
28 April 2022