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
21.0.0.3: WebSphere Application Server Liberty 21.0.0.3
21.0.0.4: WebSphere Application Server Liberty 21.0.0.4
21.0.0.5: WebSphere Application Server Liberty 21.0.0.5
21.0.0.6: WebSphere Application Server Liberty 21.0.0.6
21.0.0.7: WebSphere Application Server Liberty 21.0.0.7
21.0.0.8: WebSphere Application Server Liberty 21.0.0.8
21.0.0.9: WebSphere Application Server Liberty 21.0.0.9
21.0.0.1: WebSphere Application Server Liberty 21.0.0.1
21.0.0.2: WebSphere Application Server Liberty 21.0.0.2
21.0.0.10: WebSphere Application Server Liberty 21.0.0.10
21.0.0.11: WebSphere Application Server Liberty 21.0.0.11
21.0.0.12: WebSphere Application Server Liberty 21.0.0.12
22.0.0.1: WebSphere Application Server Liberty 22.0.0.1
22.0.0.2: WebSphere Application Server Liberty 22.0.0.2
22.0.0.3: WebSphere Application Server Liberty 22.0.0.3
22.0.0.4: WebSphere Application Server Liberty 22.0.0.4
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
Added additional synchronization to ensure correct placement of the resource class. The fix for this APAR is currently targeted for inclusion in fix pack 17.0.0.2. 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
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
Document Information
Modified date:
03 May 2022