IBM Case Manager (ICM), IBM Content Navigator (ICN)

java.lang.reflect.invocationtargetexception Error – Creating or Enabling Case History Store in IBM icmadmin

January 17, 2020

java.lang.reflect.invocationtargetexception exception is received while creating or enabling case history store in ibm case manager configuration desktop. After upgrading IBM Content Navigator 2.0.3.7 and IBM Case Manager 5.2.1.7, an exception occurred while creating and enabling case history store in IBM Content Navigator icmadmin desktop for Case Manager which is:

Caused by: java.lang.reflect.invocationtargetexception at filenet.vw.server.rpc.BaseCHASession.executeRPC(BaseCHASession.java:170

Below is the problem screenshot:

java.lang.reflect.invocationtargetexception

In systemout.log file, exception is described here:

[1/8/20 20:25:29:883 PKT] 0000001b SystemOut     O CIWEB.ICMAdminClientPlugin Error: [p8admin(unknown) @ 192.168.10.10] com.ibm.ecm.icm.accm.services.CreateCaseHistoryStoreService.callBackend() ACCM service is throwing exception
com.ibm.ecm.icm.accm.util.AccmException: java.lang.reflect.InvocationTargetException
at com.ibm.ecm.icm.accm.repository.ConfigureObjectStore.createCaseHistoryStore(ConfigureObjectStore.java:194)
at com.ibm.ecm.icm.accm.services.CreateCaseHistoryStoreService.callBackend(CreateCaseHistoryStoreService.java:98)
at com.ibm.ecm.icm.accm.services.CreateCaseHistoryStoreService.doExecute(CreateCaseHistoryStoreService.java:65)
at com.ibm.ecm.icm.accm.services.BaseService.execute(BaseService.java:130)
at com.ibm.ecm.util.PluginUtil.invokeService(PluginUtil.java:1294)
at com.ibm.ecm.struts.actions.PluginAction.executeBaseAction(PluginAction.java:144)
at com.ibm.ecm.struts.actions.BaseAction.execute(BaseAction.java:502)
at com.ibm.ecm.jaxrs.Actions.loadAndExecuteAction(Actions.java:280)
at com.ibm.ecm.jaxrs.Actions.handleAction(Actions.java:101)
at com.ibm.ecm.jaxrs.Actions.handleGetActions(Actions.java:116)
at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.apache.wink.server.internal.handlers.InvokeMethodHandler.handleRequest(InvokeMethodHandler.java:63)
at org.apache.wink.server.handlers.AbstractHandler.handleRequest(AbstractHandler.java:33)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
at org.apache.wink.server.internal.handlers.CreateInvocationParametersHandler.handleRequest(CreateInvocationParametersHandler.java:54)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleSubResourceMethod(FindResourceMethodHandler.java:183)
at org.apache.wink.server.internal.handlers.FindResourceMethodHandler.handleRequest(FindResourceMethodHandler.java:110)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
at org.apache.wink.server.internal.handlers.FindRootResourceHandler.handleRequest(FindRootResourceHandler.java:95)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
at org.apache.wink.server.internal.handlers.HeadMethodHandler.handleRequest(HeadMethodHandler.java:53)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
at org.apache.wink.server.internal.handlers.OptionsMethodHandler.handleRequest(OptionsMethodHandler.java:46)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
at org.apache.wink.server.internal.handlers.SearchResultHandler.handleRequest(SearchResultHandler.java:33)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
at org.apache.wink.server.internal.log.ResourceInvocation.handleRequest(ResourceInvocation.java:92)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
at org.apache.wink.server.internal.log.Requests.handleRequest(Requests.java:76)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:26)
at org.apache.wink.server.handlers.RequestHandlersChain.handle(RequestHandlersChain.java:22)
at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(AbstractHandlersChain.java:63)
at org.apache.wink.server.handlers.AbstractHandlersChain.run(AbstractHandlersChain.java:48)
at org.apache.wink.server.internal.RequestProcessor.handleRequestWithoutFaultBarrier(RequestProcessor.java:207)
at org.apache.wink.server.internal.RequestProcessor.handleRequest(RequestProcessor.java:154)
at org.apache.wink.server.internal.servlet.RestServlet.service(RestServlet.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at com.ibm.ecm.filters.ESAPIWafFilter.doFilter(ESAPIWafFilter.java:231)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
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:1613)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.ibm.casemgmt.config.ContentEngineHelper.createCaseHistoryStore(ContentEngineHelper.java:7481)
at com.ibm.ecm.icm.accm.repository.ConfigureObjectStore.createCaseHistoryStore(ConfigureObjectStore.java:175)
… 82 more

Environment:

  • WebSphere Application Server 7.0.0.23
  • Content Platform Engine 5.2.1.7
  • Workplace XT 1.1.5.2
  • Content Navigator 2.0.3.7
  • Case Manager 5.2.1.7

In trace.log file pointed that eeapi.jar, peResources.jar files are mismatched version in WebShpere Application server /lib/ directory from deployed navigator.war/WEB-INF/lib/ folder.

Solution:

  • Stop the WAS JVM where ICM / ICN deployed.
  • Copy the eeapi.jar, peResources.jar following files from deployed navigator path: /opt/IBM/WebSphere/AppServer/profiles/AppSrv02/installedApps/acmNode02Cell/navigator.ear/navigator.war/WEB-INF/lib/
  • Paste or replace these files on path: /opt/IBM/WebSphere/AppServer/lib/
  • Clear the /tmp /wstemp directories under the WAS.
  • Start the WAS JVM where ICM / ICN deployed.

Again logon icmadmin desktop, try to create / enable the case history store again, and finally, case history store will be created and enables successfully as descibed in the screenshot and java.lang.reflect.invocationtargetexception excpetion will gone in logs:

ibm case manager case history store

Here is the technote: https://www.ibm.com/support/pages/node/1172686?myns=swgimgmt&mynp=OCSSCTJ4&mync=E&cm_sp=swgimgmt--OCSSCTJ4--E

You Might Also Like

No Comments

Leave a Reply

error

Subscribe