qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-8040) [Broker-J] Uncaught java.nio.channels.CancelledKeyException seen during Broker shutdown
Date Mon, 04 Dec 2017 11:32:00 GMT

     [ https://issues.apache.org/jira/browse/QPID-8040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Keith Wall updated QPID-8040:
-----------------------------
    Fix Version/s: qpid-java-broker-7.0.1

> [Broker-J] Uncaught java.nio.channels.CancelledKeyException seen during Broker shutdown
> ---------------------------------------------------------------------------------------
>
>                 Key: QPID-8040
>                 URL: https://issues.apache.org/jira/browse/QPID-8040
>             Project: Qpid
>          Issue Type: Bug
>          Components: Broker-J
>    Affects Versions: qpid-java-broker-7.1.0
>            Reporter: Keith Wall
>            Priority: Minor
>             Fix For: qpid-java-broker-7.0.1
>
>         Attachments: TEST-org.apache.qpid.systest.management.amqp.AmqpManagementTest.testInvokeOperationReturningMap
>
>
> The following exception was trapped by the UncaughtExceptionHandler during a shutdown
of the Broker.  The would have caused a abnormal termination.   I expect it could also happen
during a HA virtualhost mastership change too.
> This code hasn't changed, so I think the problem is probably longstanding.
> {noformat}
> 2017-11-10 20:30:04,540          DEBUG [QpidJMS Connection Executor: ID:51dec5e7-faf9-4b92-89ec-16396a27a101:1]
o.a.q.j.u.ThreadPoolUtils Shutdown of ExecutorService: java.util.concurrent.ScheduledThreadPoolExecutor@6fbbe33[Terminated,
pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 24] is shutdown: true
and terminated: true took: 0.000 seconds.
> 2017-11-10 20:30:04,540          DEBUG [VirtualHostNode-test-Config] o.a.q.s.c.u.TaskExecutorImpl
Stopping task executor virtualhost-test-preferences
> 2017-11-10 20:30:04,544          DEBUG [VirtualHostNode-test-Config] o.a.q.s.c.u.TaskExecutorImpl
Task executor is stopped
> 2017-11-10 20:30:04,543          ERROR [Selector-Port-amqp] o.a.q.t.u.InternalBrokerHolder
Uncaught exception from thread Selector-Port-amqp
> java.nio.channels.CancelledKeyException: null
> 	at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
> 	at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:82)
> 	at java.nio.channels.spi.AbstractSelectableChannel.register(AbstractSelectableChannel.java:204)
> 	at org.apache.qpid.server.transport.SelectorThread$SelectionTask.processSelectionKeys(SelectorThread.java:240)
> 	at org.apache.qpid.server.transport.SelectorThread$SelectionTask.performSelect(SelectorThread.java:326)
> 	at org.apache.qpid.server.transport.SelectorThread$SelectionTask.run(SelectorThread.java:97)
> 	at org.apache.qpid.server.transport.SelectorThread.run(SelectorThread.java:528)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at org.apache.qpid.server.bytebuffer.QpidByteBufferFactory.lambda$null$0(QpidByteBufferFactory.java:464)
> 	at java.lang.Thread.run(Thread.java:748)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message