IBM Support

PI80285: For JAX-RS 2.0, a request may fail with a 404 because a resource class was incorrectly indicated as not found.

Fixes are available

17.0.0.2: WebSphere Application Server Liberty 17.0.0.2
17.0.0.3: WebSphere Application Server Liberty 17.0.0.3
17.0.0.4: WebSphere Application Server Liberty 17.0.0.4
18.0.0.1: WebSphere Application Server Liberty 18.0.0.1
18.0.0.2: WebSphere Application Server Liberty 18.0.0.2
18.0.0.3: WebSphere Application Server Liberty 18.0.0.3
18.0.0.4: WebSphere Application Server Liberty 18.0.0.4
19.0.0.1: WebSphere Application Server Liberty 19.0.0.1
19.0.0.2: WebSphere Application Server Liberty 19.0.0.2
19.0.0.3: WebSphere Application Server Liberty 19.0.0.3
19.0.0.4: WebSphere Application Server Liberty 19.0.0.4
19.0.0.5: WebSphere Application Server Liberty 19.0.0.5
19.0.0.6: WebSphere Application Server Liberty 19.0.0.6
19.0.0.7: WebSphere Application Server Liberty 19.0.0.7
19.0.0.8: WebSphere Application Server Liberty 19.0.0.8
19.0.0.9: WebSphere Application Server Liberty 19.0.0.9
19.0.0.10: WebSphere Application Server Liberty 19.0.0.10
19.0.0.11: WebSphere Application Server Liberty 19.0.0.11
19.0.0.12: WebSphere Application Server Liberty 19.0.0.12
20.0.0.1: WebSphere Application Server Liberty 20.0.0.1
20.0.0.2: WebSphere Application Server Liberty 20.0.0.2
20.0.0.3: WebSphere Application Server Liberty 20.0.0.3
20.0.0.4: WebSphere Application Server Liberty 20.0.0.4
20.0.0.5: WebSphere Application Server Liberty 20.0.0.5
20.0.0.6: WebSphere Application Server Liberty 20.0.0.6
20.0.0.7: WebSphere Application Server Liberty 20.0.0.7
20.0.0.8: WebSphere Application Server Liberty 20.0.0.8
20.0.0.9: WebSphere Application Server Liberty 20.0.0.9
20.0.0.10: WebSphere Application Server Liberty 20.0.0.10
20.0.0.11: WebSphere Application Server Liberty 20.0.0.11
20.0.0.12: WebSphere Application Server Liberty 20.0.0.12

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • During application initialization, a resource class was not
    added to the application resource class list.  See the
    following exception during a request:
    
    00000024 W javax.ws.rs.NotFoundException: HTTP 404 Not Found
    	at
    org.apache.cxf.jaxrs.utils.SpecExceptions.toNotFoundExceptio
    n(SpecExceptions.java:89)
    	at
    org.apache.cxf.jaxrs.utils.ExceptionUtils.toNotFoundExceptio
    n(ExceptionUtils.java:129)
    	at
    org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processR
    equest(JAXRSInInterceptor.java:209)
    	at
    org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMe
    ssage(JAXRSInInterceptor.java:85)
    	at
    org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(Phase
    InterceptorChain.java:308)
    	at
    org.apache.cxf.transport.ChainInitiationObserver.onMessage(C
    hainInitiationObserver.java:124)
    	at
    org.apache.cxf.transport.http.AbstractHTTPDestination.invoke
    (AbstractHTTPDestination.java:265)
    	at
    com.ibm.ws.jaxrs20.endpoint.AbstractJaxRsWebEndpoint.invoke(
    AbstractJaxRsWebEndpoint.java:134)
    	at
    com.ibm.websphere.jaxrs.server.IBMRestServlet.handleRequest(
    IBMRestServlet.java:149)
    	at
    com.ibm.websphere.jaxrs.server.IBMRestServlet.doDelete(IBMRe
    stServlet.java:134)
    	at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
    	at
    com.ibm.websphere.jaxrs.server.IBMRestServlet.service(IBMRes
    tServlet.java:99)
    	at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(Servl
    etWrapper.java:1290)
    	at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest
    (ServletWrapper.java:778)
    	at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest
    (ServletWrapper.java:475)
    	at
    com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFil
    ters(WebAppFilterManager.java:1161)
    	at
    com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.j
    ava:4978)
    	at
    com.ibm.ws.webcontainer31.osgi.webapp.WebApp31.handleRequest
    (WebApp31.java:528)
    	at
    com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequ
    est(DynamicVirtualHost.java:315)
    	at
    com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContai
    ner.java:1014)
    	at
    com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(Dynami
    cVirtualHost.java:280)
    	at
    com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLi
    nk$TaskWrapper.run(HttpDispatcherLink.java:967)
    	at
    com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLi
    nk.wrapHandlerAndExecute(HttpDispatcherLink.java:359)
    	at
    com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLi
    nk.ready(HttpDispatcherLink.java:318)
    	at
    com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.han
    dleDiscrimination(HttpInboundLink.java:471)
    	at
    com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.han
    dleNewRequest(HttpInboundLink.java:405)
    	at
    com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.pro
    cessRequest(HttpInboundLink.java:285)
    	at
    com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.rea
    dy(HttpInboundLink.java:256)
    	at
    com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallb
    ack.sendToDiscriminators(NewConnectionInitialReadCallback.ja
    va:174)
    	at
    com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallb
    ack.complete(NewConnectionInitialReadCallback.java:83)
    	at
    com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestCompl
    ete(WorkQueueManager.java:504)
    	at
    com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(Wo
    rkQueueManager.java:574)
    	at
    com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(Wo
    rkQueueManager.java:929)
    	at
    com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(W
    orkQueueManager.java:1018)
    	at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
    Executor.java:1153)
    	at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
    lExecutor.java:628)
    	at java.lang.Thread.run(Thread.java:785)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty - JAX-RS 2.0                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: For JAX-RS 2.0, a request may fail with *
    *                      a 404 because a resource class was      *
    *                      incorrectly indicted as not found.      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    During application initialization, a resource class was not
    added to the application resource class list.  See the following
    exception during a request:
    
    00000024 W javax.ws.rs.NotFoundException: HTTP 404 Not Found
    	at
    org.apache.cxf.jaxrs.utils.SpecExceptions.toNotFoundException(Sp
    ecExceptions.java:89)
    	at
    org.apache.cxf.jaxrs.utils.ExceptionUtils.toNotFoundException(Ex
    ceptionUtils.java:129)
    	at
    org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processReque
    st(JAXRSInInterceptor.java:209)
    	at
    org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessag
    e(JAXRSInInterceptor.java:85)
    	at
    org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInte
    rceptorChain.java:308)
    	at
    org.apache.cxf.transport.ChainInitiationObserver.onMessage(Chain
    InitiationObserver.java:124)
    	at
    org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(Abs
    tractHTTPDestination.java:265)
    	at
    com.ibm.ws.jaxrs20.endpoint.AbstractJaxRsWebEndpoint.invoke(Abst
    ractJaxRsWebEndpoint.java:134)
    	at
    com.ibm.websphere.jaxrs.server.IBMRestServlet.handleRequest(IBMR
    estServlet.java:149)
    	at
    com.ibm.websphere.jaxrs.server.IBMRestServlet.doDelete(IBMRestSe
    rvlet.java:134)
    	at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
    	at
    com.ibm.websphere.jaxrs.server.IBMRestServlet.service(IBMRestSer
    vlet.java:99)
    	at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr
    apper.java:1290)
    	at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:778)
    	at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:475)
    	at
    com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters
    (WebAppFilterManager.java:1161)
    	at
    com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:
    4978)
    	at
    com.ibm.ws.webcontainer31.osgi.webapp.WebApp31.handleRequest(Web
    App31.java:528)
    	at
    com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(
    DynamicVirtualHost.java:315)
    	at
    com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.
    java:1014)
    	at
    com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVir
    tualHost.java:280)
    	at
    com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$T
    askWrapper.run(HttpDispatcherLink.java:967)
    	at
    com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.w
    rapHandlerAndExecute(HttpDispatcherLink.java:359)
    	at
    com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.r
    eady(HttpDispatcherLink.java:318)
    	at
    com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleD
    iscrimination(HttpInboundLink.java:471)
    	at
    com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleN
    ewRequest(HttpInboundLink.java:405)
    	at
    com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.process
    Request(HttpInboundLink.java:285)
    	at
    com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(H
    ttpInboundLink.java:256)
    	at
    com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.
    sendToDiscriminators(NewConnectionInitialReadCallback.java:174)
    	at
    com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.
    complete(NewConnectionInitialReadCallback.java:83)
    	at
    com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(
    WorkQueueManager.java:504)
    	at
    com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQu
    eueManager.java:574)
    	at
    com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQu
    eueManager.java:929)
    	at
    com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQ
    ueueManager.java:1018)
    	at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec
    utor.java:1153)
    	at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe
    cutor.java:628)
    	at java.lang.Thread.run(Thread.java:785)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI80285

  • 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

    2017-04-20

  • Closed date

    2017-05-18

  • Last modified date

    2017-05-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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • RCD0 PSY

       UP

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

Document Information

Modified date:
18 October 2021