Troubleshooting
Problem
If you have a script adapter in a case client page that makes requests to P8BPMREST API, you see a java.lang.NoClassDefFoundError: javax.json.JsonValue under the following conditions.
- The P8BPMREST API that is being requested is from the Case Manager application, for example /CaseManager/P8BPMREST/....
- You're running Content Platform Engine v5.5.8 or later
On Case Manager server application server logs, you might see the following:
[3/1/23 14:45:59:310 EST] 000000a8 ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper service Uncaught service() exception thrown by servlet P8BPMRESTAPI: java.lang.NoClassDefFoundError: javax.json.JsonValue
at filenet.pe.rest.JSONUtils.getJSONFromString(JSONUtils.java:53)
at filenet.pe.rest.PEResourceRequest.parse(PEResourceRequest.java:345)
at filenet.pe.rest.PEResourceRequest.readRequestStream(PEResourceRequest.java:334)
at filenet.pe.rest.PEResourceRequest.<init>(PEResourceRequest.java:387)
at filenet.pe.rest.P8BPMRESTServlet.doMethod(P8BPMRESTServlet.java:760)
at filenet.pe.rest.P8BPMRESTServlet.doGet(P8BPMRESTServlet.java:1030)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
[3/1/23 14:45:59:310 EST] 000000a8 ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper service Uncaught service() exception thrown by servlet P8BPMRESTAPI: java.lang.NoClassDefFoundError: javax.json.JsonValue
at filenet.pe.rest.JSONUtils.getJSONFromString(JSONUtils.java:53)
at filenet.pe.rest.PEResourceRequest.parse(PEResourceRequest.java:345)
at filenet.pe.rest.PEResourceRequest.readRequestStream(PEResourceRequest.java:334)
at filenet.pe.rest.PEResourceRequest.<init>(PEResourceRequest.java:387)
at filenet.pe.rest.P8BPMRESTServlet.doMethod(P8BPMRESTServlet.java:760)
at filenet.pe.rest.P8BPMRESTServlet.doGet(P8BPMRESTServlet.java:1030)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCTJ4","label":"IBM Case Manager"},"ARM Category":[{"code":"a8m0z000000cxoEAAQ","label":"REST API-\u003ECase REST API"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
07 September 2023
UID
ibm17030942