[ 
https://issues.apache.org/jira/browse/JCS-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18064031#comment-18064031
 ] 

Thomas Vandahl commented on JCS-244:
------------------------------------

Hi Florin,

I understand that this bug needs fixing. However I don't believe that 
LateralTCPListener is the right place for the fix. This needs to be addressed 
in IElementSerializer.deSerializeFrom() because this method is used in several 
places.

Please note that I will not fix this issue in the jcs3 release anymore but in 
jcs4.

> 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
>            Assignee: Thomas Vandahl
>            Priority: Major
>             Fix For: jcs-4.0
>
>
> 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-XXX-oim4-prod.YY.ZZZ.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)

Reply via email to