Support #11294

[SCP ID :##5589##] : create single user - session expired

Added by Zahir Abd Latif almost 4 years ago. Updated over 2 years ago.

Status:Work Completed-End life cycleStart date:October 14, 2020
Priority:NormalDue date:
Assignee:Stephanie Sufrapto% Done:

100%

Category:BIBSpent time:-
Target version:-

Description

Hi,
Kindly attend below request:-

Customer called and inform having a problem to create new single user. The error appeared was “session expired” and CA suddenly log out for more than 3 times .

Request to check on this matter.

Company Name : ECOMART COLD STORAGE SDN.BHD.

Name : HA SIAW FANG

IC No : 720528135612

Email :

Phone number: 60128086966

History

#1 Updated by Stephanie Sufrapto almost 4 years ago

  • Status changed from New - Begin Life Cycle to Pending Customer Feedback
  • % Done changed from 0 to 100

From error log there is hung when try to retrieve account list from host.
Asking ilah to check whether there is issue on account list.

ERROR log:

[10/13/20 15:41:09:616 SGT] 00000329 ThreadMonitor W WSVR0605W: Thread "WebContainer : 4" (000000b4) has been active for 622235 milliseconds and may be hung. There is/are 2 thread(s) in total in the server that may be hung.
at org.apache.log4j.Category.callAppenders(Category.java:201)
at org.apache.log4j.Category.forcedLog(Category.java:388)
at org.apache.log4j.Category.debug(Category.java:257)
at com.ib.message.common.MsgUtils.parseMsg(MsgUtils.java:1121)
at com.ib.message.common.MsgUtils.parseMsg(MsgUtils.java:1071)
at com.ib.message.common.MsgUtils.parseMsg(MsgUtils.java:868)
at com.ib.enterprise.services.integration.IntegrationProcessService.retrieve(IntegrationProcessService.java:362)
at com.ib.enterprise.services.BIBUtils.getAcctListFromHost(BIBUtils.java:1299)
at com.ib.enterprise.services.BIBUtils.getFDAccountType(BIBUtils.java:1314)
at my.com.bib.enterprise.services.bib114_administration.user.UserManagementCreateStep3Service.executeService(UserManagementCreateStep3Service.java:71)
at my.com.bib.controller.actions.bib114_administration.user.UserManagementCreateStep3Action.execute(UserManagementCreateStep3Action.java:47)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at com.ib.common.utils.IBActionServlet.doPost(IBActionServlet.java:82)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
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:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:96)
at my.com.bib.web.utils.SetSessionTimeout.doFilter(SetSessionTimeout.java:100)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:969)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1109)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:82)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:963)
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.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833)
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)

[10/13/20 15:44:09:664 SGT] 00000329 ThreadMonitor W WSVR0605W: Thread "WebContainer : 9" (00000564) has been active for 663017 milliseconds and may be hung. There is/are 2 thread(s) in total in the server that may be hung.
at java.lang.String.valueOf(String.java:1862)
at java.lang.Throwable.printStackTrace(Throwable.java:531)
at java.lang.Throwable.printStackTrace(Throwable.java:301)
at org.apache.log4j.spi.LocationInfo.<init>(LocationInfo.java:105)
at org.apache.log4j.spi.LoggingEvent.getLocationInformation(LoggingEvent.java:191)
at org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert(PatternParser.java:483)
at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64)
at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:236)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
at org.apache.log4j.Category.callAppenders(Category.java:203)
at org.apache.log4j.Category.forcedLog(Category.java:388)
at org.apache.log4j.Category.debug(Category.java:257)
at com.ib.message.common.MsgUtils.parseMsg(MsgUtils.java:1121)
at com.ib.message.common.MsgUtils.parseMsg(MsgUtils.java:1071)
at com.ib.message.common.MsgUtils.parseMsg(MsgUtils.java:868)
at com.ib.enterprise.services.integration.IntegrationProcessService.retrieve(IntegrationProcessService.java:362)
at com.ib.enterprise.services.BIBUtils.getAcctListFromHost(BIBUtils.java:1299)
at com.ib.enterprise.services.BIBUtils.getFDAccountType(BIBUtils.java:1314)
at my.com.bib.enterprise.services.bib114_administration.user.UserManagementCreateStep3Service.executeService(UserManagementCreateStep3Service.java:71)
at my.com.bib.controller.actions.bib114_administration.user.UserManagementCreateStep3Action.execute(UserManagementCreateStep3Action.java:47)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at com.ib.common.utils.IBActionServlet.doPost(IBActionServlet.java:82)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
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:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:96)
at my.com.bib.web.utils.SetSessionTimeout.doFilter(SetSessionTimeout.java:100)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:969)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1109)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:82)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:963)
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.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833)
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)

#2 Updated by Stephanie Sufrapto almost 4 years ago

  • Status changed from Pending Customer Feedback to System Integration Test

21/10/2020
Balqis provide patch to modify how the account retrieved
Root Cause:
Upon creating a single user, IB calls backend to get the list of 700 accounts. However, IBM throws session hung.

Current logic
IB call backend to get the account list based on CIF in order to get the list of FD account.

The solution given was:
IB will get the FD account from the IB database based on company id and CIF no.

Kindly, deploy the patch from the below link and perform testing.

Patch URL: https://drive.google.com/drive/folders/1OwbAWHX55zW-1OhYDcBTtSQnbC_Ia6tB?usp=sharing

#3 Updated by Stephanie Sufrapto over 3 years ago

  • Status changed from System Integration Test to Work Completed-End life cycle

#4 Updated by Stephanie Sufrapto over 3 years ago

  • Status changed from Work Completed-End life cycle to System Integration Test

#5 Updated by Stephanie Sufrapto over 2 years ago

  • Status changed from System Integration Test to Work Completed-End life cycle

Hung tread issue solved

Also available in: Atom PDF