IBM Support

PI26908: ERROR PAGE HANDLING IS BROKEN WHEN THE WEB APPLICATION IS CDI ENABLED.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error page handling is broken when the web application is CDI
    enabled.
    
    WebSphere Application Server 8.5.0.
    Distributed Operating Systems.
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Full       *
    *                  Profile versions 8.5.5, and Liberty         *
    *                  Profile version 8.5.5 users of              *
    *                  WebContainer and Contexts and Dependency    *
    *                  Injection (CDI).                            *
    ****************************************************************
    * PROBLEM DESCRIPTION: A                                       *
    *                      ContextNotActiveException might be      *
    *                      seen when an error page uses CDI and    *
    *                      a request is made to a non-existing     *
    *                      resource.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A javax.enterprise.context.ContextNotActiveException might be
    seen when CDI annotations are used on a custom error page and
    a request is made to a resource that does not exist. The
    exception prevents the error page from displaying correctly.
    The following is an example of the stack trace that might be
    seen:
    javax.enterprise.context.ContextNotActiveException: WebBeans
    context with scope type annotation @RequestScoped does not
    exist within current thread
    at
    org.apache.webbeans.container.BeanManagerImpl.getContext(BeanMan
    agerImpl.java:342)
    at
    org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler
    .getContextualCreationalContext(NormalScopedBeanInterceptorHandl
    er.java:169)
    at
    org.apache.webbeans.web.intercept.RequestScopedBeanInterceptorHa
    ndler.getContextualInstance(RequestScopedBeanInterceptorHandler.
    java:79)
    at
    org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler
    .invoke(NormalScopedBeanInterceptorHandler.java:114)
    at
    org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler
    .invoke(NormalScopedBeanInterceptorHandler.java:108)
    at
    org.apache.webbeans.conversation.ConversationImpl_$$_javassist_0
    .isTransient(ConversationImpl_$$_javassist_0.java)
    at
    org.apache.webbeans.jsf.WebBeansPhaseListener.beforePhase(WebBea
    nsPhaseListener.java:106)
    at
    org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseLis
    tenersBefore(PhaseListenerManager.java:76)
    at
    org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(Lifecycl
    eImpl.java:160)
    at
    org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl
    .java:119)
    at
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr
    apper.java:1282)
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:802)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI26908

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-10-02

  • Closed date

    2014-12-30

  • Last modified date

    2014-12-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

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

Document Information

Modified date:
28 April 2022