]
Radoslav Husar updated JGRP-2489:
---------------------------------
Affects Version/s: 4.2.4
TcpConnection.Receiver#run should use logger to handle exception
rather than rely on UncaughtExceptionHandler
-------------------------------------------------------------------------------------------------------------
Key: JGRP-2489
URL:
https://issues.redhat.com/browse/JGRP-2489
Project: JGroups
Issue Type: Bug
Affects Versions: 4.2.4
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Priority: Minor
An example of an exception being non-standardly thusly logged to stderr:
{code}
[0m[31m15:09:28,663 ERROR [stderr] (Connection.Receiver [10.128.3.125:7600 -
10.131.0.184:32825]-11,ee,hsc-1-2d7n4) Exception in thread "Connection.Receiver
[10.128.3.125:7600 - 10.131.0.184:32825]-11,ee,hsc-1-2d7n4"
java.lang.RuntimeException: failed handling message from 10.131.0.184:7600:
java.io.IOException: Stream closed
[0m[31m15:09:28,663 ERROR [stderr] (Connection.Receiver [10.128.3.125:7600 -
10.131.0.184:32825]-11,ee,hsc-1-2d7n4) at
org.jgroups@4.2.4.Final-redhat-00001//org.jgroups.blocks.cs.TcpConnection$Receiver.run(TcpConnection.java:309)
[0m[31m15:09:28,663 ERROR [stderr] (Connection.Receiver [10.128.3.125:7600 -
10.131.0.184:32825]-11,ee,hsc-1-2d7n4) at
org.jboss.as.clustering.common@7.4.0.CD20-redhat-00001//org.jboss.as.clustering.context.ContextReferenceExecutor.execute(ContextReferenceExecutor.java:49)
[0m[31m15:09:28,663 ERROR [stderr] (Connection.Receiver [10.128.3.125:7600 -
10.131.0.184:32825]-11,ee,hsc-1-2d7n4) at
org.jboss.as.clustering.common@7.4.0.CD20-redhat-00001//org.jboss.as.clustering.context.ContextualExecutor$1.run(ContextualExecutor.java:70)
[0m[31m15:09:28,663 ERROR [stderr] (Connection.Receiver [10.128.3.125:7600 -
10.131.0.184:32825]-11,ee,hsc-1-2d7n4) at
java.base/java.lang.Thread.run(Thread.java:834)
{code}