IBM Support

PI19074: WebBeans context with scope type annotation @RequestScoped does not exist within current thread

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • SRVE0014E:
    Uncaught service() exception root cause FacesServlet:
    javax.servlet.ServletException: WebBeans context with scope type
    annotation @RequestScoped does not exist within current thread
    at
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:221)
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr
    apper.java:1230)
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:779)
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:478)
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest
    (ServletWrapperImpl.java:178)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All IBM WebSphere Application Server users  *
    *                  of CDI (Contexts and Dependency Injection)  *
    ****************************************************************
    * PROBLEM DESCRIPTION: WebBeans context with scope type        *
    *                      annotation @RequestScoped, does not     *
    *                      exist within current thread.            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    SRVE0014E:
    Uncaught service() exception root cause FacesServlet:
    javax.servlet.ServletException: WebBeans context with scope
    type
    annotation @RequestScoped does not exist within current thread
    

Problem conclusion

  • The coded fix ensures if the context does not exist it is now
    created.  In addition for the fix to function correctly the
    following JVM custom property must be set:
    
    Property : com.ibm.ws.webbeans.trackInjectionPointsWithStack
    Value: true
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.5.5.4 and 8.0.0.10, note that you must still set
    the JVM custom property on these levels.  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

    PI19074

  • 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-06-02

  • Closed date

    2014-11-10

  • Last modified date

    2014-12-15

  • 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



Document information

More support for: WebSphere Application Server
General

Software version: 850

Reference #: PI19074

Modified date: 15 December 2014