Bug 1238420 - [GSS](6.4.z) RejectedExecutionException when closing connection on channel close
Summary: [GSS](6.4.z) RejectedExecutionException when closing connection on channel close
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Remoting
Version: 6.4.2
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: CR1
: EAP 6.4.5
Assignee: Dominik Pospisil
QA Contact: Jitka Kozana
URL:
Whiteboard:
Depends On:
Blocks: 1260174 1235745 1253482
TreeView+ depends on / blocked
 
Reported: 2015-07-01 20:07 UTC by Brad Maxwell
Modified: 2019-08-15 04:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1260174 (view as bug list)
Environment:
Last Closed: 2017-01-17 11:41:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
overlay zip containing configuration and reproducer (8.68 KB, application/octet-stream)
2015-09-08 13:43 UTC, Brad Maxwell
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker REM3-210 0 Major Resolved RemoteConnectionHandler.closeCompleted() might be called before RemoteConnection socket channel is closed 2020-03-09 05:52:15 UTC
Red Hat Issue Tracker XNIO-246 0 Major Open JsseSslStreamSourceConduit returns -1 before underlying socket returns -1 2020-03-09 05:52:15 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.