IBM Support

PH28535: JAXRS SERVLETEXCEPTION SHOULD INCLUDE ROOT CAUSE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Currently the ServletException generated in
    LibertyJaxRsServerFactoryBean.createSingletonInstance() during
    application startup does not include the root cause exception,
    which can be included in a ServletException.
    
    at
    com.ibm.ws.jaxrs20.server.LibertyJaxRsServerFactoryBean.createSi
    ngletonInstance(LibertyJaxRsServerFactoryBean.java:232)
    at
    com.ibm.ws.jaxrs20.server.LibertyJaxRsServerFactoryBean.onApplic
    ationInit(LibertyJaxRsServerFactoryBean.java:154)
    at
    com.ibm.ws.jaxrs20.server.LibertyJaxRsServerFactoryBean.doInit(L
    ibertyJaxRsServerFactoryBean.java:303)
    at
    com.ibm.ws.jaxrs20.server.JaxRsWebEndpointImpl.init(JaxRsWebEndp
    ointImpl.java:65)
    at
    com.ibm.websphere.jaxrs.server.IBMRestServlet.init(IBMRestServle
    t.java:90)
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapp
    er.java:342)
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletW
    rapperImpl.java:169)
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupChec
    k(ServletWrapper.java:1376)
    at
    com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(Web
    App.java:673)
    at
    com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinall
    y(WebApp.java:639)
    at
    com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.
    java:454)
    at
    com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(We
    bGroupImpl.java:88)
    at
    com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(Virtua
    lHostImpl.java:171)
    at
    com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.
    java:904)
    at
    com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebCo
    ntainer.java:789)
    at
    com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebCo
    ntainerImpl.java:427)
    at
    com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebCont
    ainerImpl.java:719)
    at
    com.ibm.ws.runtime.component.ApplicationMgrImpl.start(Applicatio
    nMgrImpl.java:1249)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of JAXRS applications in IBM      *
    *                  WebSphere Application Server                *
    ****************************************************************
    * PROBLEM DESCRIPTION: ServletException does not include the   *
    *                      root cause.   See error description.    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A ServletException generated in
    com.ibm.ws.jaxrs20.server.LibertyJaxRsServerFactoryBean.createSi
    ngletonInstance() does not include the root cause.  This makes
    it difficult to understand what is going wrong.
    

Problem conclusion

  • Added the root cause the the generated ServletException.
    
    The fix for this APAR is targeted for inclusion in fix pack
    9.0.5.6. For more information, see 'Recommended Updates for
    WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH28535

  • 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

    2020-08-18

  • Closed date

    2020-09-08

  • Last modified date

    2020-09-08

  • 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

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

Document Information

Modified date:
01 November 2021