SYMPTOM:
Strategy Web becomes un-responsive for a period of time after a fews hours of inactivity. The following error occured in the Web Server error log:
00000023 ThreadMonitor W WSVR0605W: Thread "WebContainer : 2" (00000026) has been active for 715669 milliseconds and may be hung. There is/are 2 thread(s) in total in the server that may be hung.
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:140)
at com.Strategy.webapi.MSIMsgBuf.read(Unknown Source)
at com.Strategy.webapi.MSIMsgBuf.ReadHeader(Unknown Source)
at com.Strategy.webapi.MSIMsgBuf.ReadFromChannel(Unknown Source)
at com.Strategy.webapi.CDSSMsg.ReadFromChannel(Unknown Source)
at com.Strategy.webapi.CDSSXMLCommand.read(Unknown Source)
at com.Strategy.webapi.CDSSXMLCommand.ReadResponse(Unknown Source)
at com.Strategy.webapi.CDSSXMLCommand.ReadResponse(Unknown Source)
at com.Strategy.webapi.CDSSXMLCommand.GetServerVersion(Unknown Source)
at com.Strategy.webapi.CDSSXMLCommand.GetServerVersion(Unknown Source)
at com.Strategy.webapi.CDSSXMLServerSessionImpl.getServerVersion(Unknown Source)
at com.Strategy.webapi.ServerVersionCache.load(Unknown Source)
at com.Strategy.utils.cache.CacheBase.get(Unknown Source)
at com.Strategy.webapi.ServerVersionCache.getVersion(Unknown Source)
at com.Strategy.webapi.EnumCipher$2.isSupported(Unknown Source)
at com.Strategy.webapi.UserData.getEncryptionLevel(Unknown Source)
at com.Strategy.webapi.CDSSXMLCommand.SendandReceive(Unknown Source)
at com.Strategy.webapi.CDSSXMLCommand.SendandReceive(Unknown Source)
at com.Strategy.webapi.CDSSXMLCommand.CreateSessionHelper(Unknown Source)
at com.Strategy.webapi.CDSSXMLServerSessionImpl.CreateSession(Unknown Source)
at com.Strategy.webapi.CDSSXMLServerSessionImpl.CreateSessionEx(Unknown Source)
at com.Strategy.web.objects.WebIServerSessionImpl.createSession(Unknown Source)
CAUSE:
This is happens because a firewall in between Strategy Web and Strategy Intelligence Server times out all the TCP/IP connections after a period of inactivity between Web Server and Intelligence Server.
ACTION:
Enable Keep alive setting from Web Admin page (TN30084). Also configure keep alive option for OS level as well (TN16328).