Direct links to fixes
APAR status
Closed as program error.
Error description
After the server starts, you see several exceptions in the SystemOut.log file: [5/1/19 15:06:53:985 CEST] 00000139 SystemOut O CIWEB Error: [ ] com.ibm.ecm.util.JSONWebTokenUtil.encript() failed to encrypt com.ibm.ecm.util.security.CipherException: Failed to encrypt at com.ibm.ecm.util.security.Cipher$Processor.encrypt(Cipher.java:2 19) at com.ibm.ecm.util.JSONWebTokenUtil.encript(JSONWebTokenUtil.java: 291) at com.ibm.ecm.struts.actions.p8.P8LogonAction.createP8Connection(P 8LogonAction.java:279) at com.ibm.ecm.struts.actions.GetDesktopAction.desktopConnect(GetDe sktopAction.java:384) at com.ibm.ecm.struts.actions.GetDesktopAction.executeBaseAction(Ge tDesktopAction.java:152) at com.ibm.ecm.struts.actions.BaseActionHandlerImpl.executeAction(B aseActionHandlerImpl.java:448) at com.ibm.ecm.struts.actions.BaseAction.execute(BaseAction.java:10 5) at com.ibm.ecm.jaxrs.Actions.loadAndExecuteAction(Actions.java:539) at com.ibm.ecm.jaxrs.Actions.handleAction(Actions.java:121) at com.ibm.ecm.jaxrs.Actions.handlePostActions(Actions.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor Impl.java:90) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod AccessorImpl.java:55) at java.lang.reflect.Method.invoke(Method.java:508) at org.apache.wink.server.internal.handlers.InvokeMethodHandler.han dleRequest(InvokeMethodHandler.java:63) at org.apache.wink.server.handlers.AbstractHandler.handleRequest(Ab stractHandler.java:33) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:26) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:22) at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(Ab stractHandlersChain.java:75) at org.apache.wink.server.internal.handlers.CreateInvocationParamet ersHandler.handleRequest(CreateInvocationParametersHandler.java: 54) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:26) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:22) at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(Ab stractHandlersChain.java:75) at org.apache.wink.server.handlers.AbstractHandler.handleRequest(Ab stractHandler.java:34) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:26) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:22) at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(Ab stractHandlersChain.java:75) at org.apache.wink.server.internal.handlers.FindResourceMethodHandl er.handleSubResourceMethod(FindResourceMethodHandler.java:188) at org.apache.wink.server.internal.handlers.FindResourceMethodHandl er.handleRequest(FindResourceMethodHandler.java:110) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:26) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:22) at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(Ab stractHandlersChain.java:75) at org.apache.wink.server.internal.handlers.FindRootResourceHandler .handleRequest(FindRootResourceHandler.java:95) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:26) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:22) at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(Ab stractHandlersChain.java:75) at org.apache.wink.server.internal.handlers.HeadMethodHandler.handl eRequest(HeadMethodHandler.java:53) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:26) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:22) at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(Ab stractHandlersChain.java:75) at org.apache.wink.server.internal.handlers.OptionsMethodWADLHandle r.handleRequest(OptionsMethodWADLHandler.java:51) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:26) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:22) at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(Ab stractHandlersChain.java:75) at org.apache.wink.server.internal.handlers.SearchResultHandler.han dleRequest(SearchResultHandler.java:33) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:26) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:22) at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(Ab stractHandlersChain.java:75) at org.apache.wink.server.internal.log.ResourceInvocation.handleReq uest(ResourceInvocation.java:92) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:26) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:22) at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(Ab stractHandlersChain.java:75) at org.apache.wink.server.internal.log.Requests.handleRequest(Reque sts.java:76) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:26) at org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ estHandlersChain.java:22) at org.apache.wink.server.handlers.AbstractHandlersChain.doChain(Ab stractHandlersChain.java:75) at org.apache.wink.server.handlers.AbstractHandlersChain.run(Abstra ctHandlersChain.java:60) at org.apache.wink.server.internal.RequestProcessor.handleRequestWi thoutFaultBarrier(RequestProcessor.java:207) at org.apache.wink.server.internal.RequestProcessor.handleRequest(R equestProcessor.java:154) at org.apache.wink.server.internal.servlet.RestServlet.service(Rest Servlet.java:124) at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr apper.java:1233) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser vletWrapper.java:782) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser vletWrapper.java:481) at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest (ServletWrapperImpl.java:178) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(We bAppFilterChain.java:136) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp FilterChain.java:97) at com.ibm.bpm.servlet.filters.GenericSecurityServletFilter.doFilte r(GenericSecurityServletFilter.java:222) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(Fi lterInstanceWrapper.java:195) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp FilterChain.java:91) at com.ibm.ecm.filters.ESAPIWafFilter.doFilter(ESAPIWafFilter.java: 231) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(Fi lterInstanceWrapper.java:195) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp FilterChain.java:91) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebA ppFilterManager.java:967) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters (WebAppFilterManager.java:1107) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleReques t(CacheServletWrapper.java:87) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer. java:949) at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContai ner.java:1817) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLin k.java:213) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscr imination(HttpInboundLink.java:463) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRe quest(HttpInboundLink.java:530) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequ est(HttpInboundLink.java:316) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complet e(HttpICLReadCallback.java:88) at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadComplet edCallback.complete(SSLReadServiceContext.java:1833) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureComp leted(AioReadCompletionListener.java:175) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyn cFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncC hannelFuture.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(ResultHand ler.java:775) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892) Caused by: javax.crypto.BadPaddingException: Given final block not properly padded at com.ibm.crypto.provider.AbstractBufferingCipher.a(Unknown Source) at com.ibm.crypto.provider.AbstractBufferingCipher.engineDoFinal(Un known Source) at javax.crypto.Cipher.doFinal(Unknown Source) at com.ibm.ecm.util.security.MasterKey.decryptDataKey(MasterKey.jav a:204) at com.ibm.ecm.util.security.MasterKey.decryptDataKey(MasterKey.jav a:187) at com.ibm.ecm.util.security.Cipher$Processor.encrypt(Cipher.java:2 15) ... 91 more
Local fix
restart, go to ICN admin desktop and re-save the Task Manager pa
Problem summary
This problem happens because the iviewproConfigurationDirectory context parameter in the web.xml file of IBM Content Navigator application and the icn_config_dir_path property in the config.properties file of taskManagerWeb.war of IBM Content Navigator application don't point to the network shared directory.
Problem conclusion
A fix that has the following updates will be included in a future release of Business Automation Workflow: -enables the iviewproConfigurationDirectory context parameter in the web.xml file of Content Navigator application and the icn_config_dir_path property in the config.properties file of taskManagerWeb.war of Content Navigator application to point to the network shared directory while creating the deployment environment as you install 19.0.0.1 -ensures the iviewproConfigurationDirectory context parameter in the web.xml file of Content Navigator application and the icn_config_dir_path property in the config.properties file of taskManagerWeb.war of Content Navigator application point to the network shared directory in profile upgrade step when you upgrade, such as from 18.0.0.2 to 19.0.0.1 -ensures the iviewproConfigurationDirectory context parameter in the web.xml file of Content Navigator application and the icn_config_dir_path property in the config.properties file of taskManagerWeb.war of Content Navigator application point to the new network shared directory when you run the command "BPMConfig.sh -update -profile DmgrProfile -de DEName -component ContentNavigator -networkDirectory newNetworDirectoryPath" to change the network shared directory
Temporary fix
Comments
APAR Information
APAR number
JR61271
Reported component name
BUS AUTO WORKFL
Reported component ID
5737H4100
Reported release
I00
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-07-08
Closed date
2019-12-03
Last modified date
2019-12-03
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
BUS AUTO WORKFL
Fixed component ID
5737H4100
Applicable component levels
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18.0.0.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
03 December 2019