Bug 1238420

Summary: [GSS](6.4.z) RejectedExecutionException when closing connection on channel close
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Brad Maxwell <bmaxwell>
Component: RemotingAssignee: Dominik Pospisil <dpospisi>
Status: CLOSED CURRENTRELEASE QA Contact: Jitka Kozana <jkudrnac>
Severity: unspecified Docs Contact:
Priority: high    
Version: 6.4.2CC: bbaranow, david.lloyd, dpospisi, egonzale, rjanik
Target Milestone: CR1   
Target Release: EAP 6.4.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1260174 (view as bug list) Environment:
Last Closed: 2017-01-17 11:41:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1260174, 1235745, 1253482    
Attachments:
Description Flags
overlay zip containing configuration and reproducer none

Description Brad Maxwell 2015-07-01 20:07:54 UTC
Remoting / xnio calls using SSL randomly get RejectedExecutionException as shown below.

java.util.concurrent.RejectedExecutionException: Task org.jboss.remoting3.remote.RemoteReadListener$1$1@13e2ee8 rejected from org.xnio.XnioWorker$TaskPool@1f9d2ff[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 482]
  at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047)
  at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)
  at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)
  at org.xnio.XnioWorker.execute(XnioWorker.java:584)
  at org.jboss.remoting3.remote.RemoteReadListener$1.handleEvent(RemoteReadListener.java:54)
  at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
  at org.xnio.channels.TranslatingSuspendableChannel.close(TranslatingSuspendableChannel.java:813)
  at org.xnio.IoUtils.safeClose(IoUtils.java:137)
  at org.xnio.channels.TranslatingSuspendableChannel$3.handleEvent(TranslatingSuspendableChannel.java:123)
  at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
  at org.xnio.channels.TranslatingSuspendableChannel.close(TranslatingSuspendableChannel.java:813)
  at org.xnio.IoUtils.safeClose(IoUtils.java:137)
  at org.xnio.channels.TranslatingSuspendableChannel$3.handleEvent(TranslatingSuspendableChannel.java:123)
  at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72)
  at org.xnio.nio.AbstractNioStreamChannel.invokeCloseHandler(AbstractNioStreamChannel.java:384)
  at org.xnio.nio.NioTcpChannel.close(NioTcpChannel.java:163)
  at org.xnio.IoUtils.safeClose(IoUtils.java:137)
  at org.xnio.nio.WorkerThread.run(WorkerThread.java:154)

Comment 10 Brad Maxwell 2015-09-08 13:43:15 UTC
Created attachment 1071365 [details]
overlay zip containing configuration and reproducer

Comment 16 Petr Penicka 2017-01-17 11:41:01 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.

Comment 17 Petr Penicka 2017-01-17 11:42:29 UTC
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.