You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Florin POP (Jira)" <ji...@apache.org> on 2026/03/03 01:18:00 UTC
[jira] [Created] (JCS-244) JCS-LateralTCPListener dies and not automatically recovers
Florin POP created JCS-244:
------------------------------
Summary: JCS-LateralTCPListener dies and not automatically recovers
Key: JCS-244
URL: https://issues.apache.org/jira/browse/JCS-244
Project: Commons JCS
Issue Type: Bug
Components: TCP Lateral Cache
Affects Versions: jcs-3.2.1
Reporter: Florin POP
We are using LateralTCPListener in Weblogic context in OIG14c, at one point the listener thread is dying and from that point on the other nodes in the cluster are no longer able to communicate with this node. One by one all nodes in the cluster happen this.
Below is the snippet from the incident logged by WebLogic:{*}{*}{*}{*}
*Description*
*-----------*
*Thread 361(JCS-LateralTCPListener-aps-oim4-prod.eu.novartis.net:7800) exited due to an uncaught Exception: java.nio.BufferUnderflowException.*
Stack Trace
-----------
java.nio.BufferUnderflowException
at java.base/java.nio.Buffer.nextGetIndex(Buffer.java:721)
at java.base/java.nio.HeapByteBuffer.getInt(HeapByteBuffer.java:498)
at org.apache.commons.jcs3.engine.behavior.IElementSerializer.deSerializeFrom(IElementSerializer.java:210)
at org.apache.commons.jcs3.auxiliary.lateral.socket.tcp.LateralTCPListener.handleClient(LateralTCPListener.java:679)
at org.apache.commons.jcs3.auxiliary.lateral.socket.tcp.LateralTCPListener.runListener(LateralTCPListener.java:565)
at org.apache.commons.jcs3.auxiliary.lateral.socket.tcp.LateralTCPListener.lambda$init$2(LateralTCPListener.java:215)
at java.base/java.lang.Thread.run(Thread.java:1583)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)