Troubleshooting
Problem
A java.lang.NoClassDefFoundError: com.filenet.api.exception.EngineRuntimeException error occurs when a client application that uses the Content Engine Java API attempts to connect to the Content Platform Engine. The error occurs when the client application and the Content Platform Engine are running on the same WebSphere Application Server installation.
Symptom
This issue occurs in a traditional WebSphere installation.
If a client application is running in a different WebSphere profile but in the same WebSphere installation as the Content Platform Engine, the connection to the Content Platform Engine fails with the following error:
java.lang.NoClassDefFoundError: com.filenet.api.exception.EngineRuntimeException
Following is a sample stack trace taken from a client application log.
[7/3/22 23:10:31:755 PDT] 000000dd ServletWrappe E com.ibm.ws.webcontainer.servlet.ServletWrapper service Uncaught service() exception thrown by servlet ACMRESTAPI:
java.lang.NoClassDefFoundError: com.filenet.api.exception.EngineRuntimeException
at com.filenet.apiimpl.core.Session.getContentStream(Session.java:667)
at com.filenet.apiimpl.core.DispatchEntries.accessContentStream(DispatchEntries.java:292)
at com.filenet.apiimpl.core.DispatchEntries.AccessContentStream_104(DispatchEntries.java:236)
at com.filenet.apiimpl.core.ContentTransferImpl.accessContentStream(ContentTransferImpl.java:113)
at com.ibm.casemgmt.intgimpl.designos.ConnectionDefinitionDocument.fetchDefinitionFromDocumentHelper(ConnectionDefinitionDocument.java:240)
at com.ibm.casemgmt.intgimpl.designos.ConnectionDefinitionDocument.fetchDefinition(ConnectionDefinitionDocument.java:190)
at com.ibm.casemgmt.intgimpl.designos.ConnectionDefinitionDocument.fetchDefinitions(ConnectionDefinitionDocument.java:367)
at com.ibm.casemgmt.api.admin.ConnectionDefinition.fetchConnectionDefinitions(ConnectionDefinition.java:96)
at com.ibm.casemgmt.api.admin.ConnectionDefinition.fetchConnectionDefinitions(ConnectionDefinition.java:89)
at com.ibm.casemgmt.rest.handlers.ConnectionDefinitionsHandler.getConnectionDefinitionsFromLoggedInUser(ConnectionDefinitionsHandler.java:147)
at com.ibm.casemgmt.rest.handlers.ConnectionDefinitionsHandler.onGet(ConnectionDefinitionsHandler.java:137)
at com.ibm.casemgmt.rest.ACMRESTServlet.doMethod(ACMRESTServlet.java:414)
at com.ibm.casemgmt.rest.ACMRESTServlet.doGet(ACMRESTServlet.java:268)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:78)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:979)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1119)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4238)
at com.ibm.ws.webcontainer.webapp.WebAppImpl.handleRequest(WebAppImpl.java:2210)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1033)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
Caused by: java.lang.ClassNotFoundException: com.filenet.api.exception.EngineRuntimeException
at java.net.URLClassLoader.findClass(URLClassLoader.java:610)
at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:273)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:937)
at java.lang.ClassLoader.loadClass(ClassLoader.java:882)
at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:150)
at java.lang.ClassLoader.loadClass(ClassLoader.java:865)
... 41 more
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSNVNV","label":"FileNet Content Manager"},"ARM Category":[{"code":"a8m0z00000006soAAA","label":"Content Engine-\u003EClient"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.5.9"},{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGLW6","label":"IBM Content Foundation"},"ARM Category":[{"code":"a8m0z00000006soAAA","label":"Content Engine-\u003EClient"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.5.9"}]
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:
28 April 2025
UID
ibm16611225