hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nhan Thuan Nguyen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPASYNC-108) Unhandled CancelledKeyException leads to a shutdown of the underlying IOReactor for SSL session
Date Wed, 20 Jul 2016 16:00:23 GMT
Nhan Thuan Nguyen created HTTPASYNC-108:
-------------------------------------------

             Summary: Unhandled CancelledKeyException leads to a shutdown of the underlying
IOReactor for SSL session
                 Key: HTTPASYNC-108
                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-108
             Project: HttpComponents HttpAsyncClient
          Issue Type: Bug
    Affects Versions: 4.1
            Reporter: Nhan Thuan Nguyen


2016-07-19 11:18:10,964 ERROR [http-apr-127.0.0.1-8080-exec-106#5][mbs] - HTTP Post Exception
Detected: Max Retries Hit, failing request
java.util.concurrent.ExecutionException: java.nio.channels.CancelledKeyException
        at org.apache.http.concurrent.BasicFuture.getResult(BasicFuture.java:70)
        at org.apache.http.concurrent.BasicFuture.get(BasicFuture.java:91)
        at com.aol.mail.httpclient.util.HttpActualSend.send(HttpActualSend.java:71)
        at com.aol.mail.httpclient.util.HttpClientUtil.sendRequest(HttpClientUtil.java:50)
        at com.aol.mail.httpclient.util.HttpClientUtil.sendRequest(HttpClientUtil.java:29)
        at com.aol.mail.httpclient.util.HttpClientUtil.sendRequest(HttpClientUtil.java:25)
        at com.aol.mail.httpclient.util.HttpClientUtil.sendRequest(HttpClientUtil.java:21)
        at com.aol.mail.httpclient.util.ResponseUtil.getXmlResponse(ResponseUtil.java:26)
        at com.aol.mail.httpclient.util.ResponseUtil.getXmlResponse(ResponseUtil.java:55)
        at com.aol.mail.httpclient.mbs.MboxExistsRequest.getResponse(MboxExistsRequest.java:44)
        at com.aol.mail.services.omag.httpclient.MbsClientRequest.mboxExists(MbsClientRequest.java:28)
        at com.aol.mail.services.omag.util.GuidUtil.validateGuid(GuidUtil.java:85)
        at com.aol.mail.services.omag.api.OmagAbstractApiHandler.process(OmagAbstractApiHandler.java:121)
        at com.aol.mail.service.RequestDequeueProcessor.process(RequestDequeueProcessor.java:67)
        at com.aol.mail.service.ImmediateBroker.enqueueRequest(ImmediateBroker.java:17)
        at com.aol.mail.service.BrokerManager.enqueueRequest(BrokerManager.java:15)
        at com.aol.mail.api.AbstractApiHandler.processRequest(AbstractApiHandler.java:587)
        at com.aol.mail.api.AbstractApiHandler.doGet(AbstractApiHandler.java:117)
        at com.aol.mail.api.DispatcherServlet.doGet(DispatcherServlet.java:60)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:666)
        at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2445)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.nio.channels.CancelledKeyException: null
        at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
        at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:77)
        at org.apache.http.impl.nio.reactor.IOSessionImpl.getEventMask(IOSessionImpl.java:139)
        at org.apache.http.nio.reactor.ssl.SSLIOSession.updateEventMask(SSLIOSession.java:387)
        at org.apache.http.nio.reactor.ssl.SSLIOSession.close(SSLIOSession.java:638)
        at org.apache.http.impl.nio.conn.LoggingIOSession.close(LoggingIOSession.java:125)
        at org.apache.http.impl.nio.NHttpConnectionBase.close(NHttpConnectionBase.java:513)
        at org.apache.http.impl.nio.conn.CPoolEntry.closeConnection(CPoolEntry.java:74)
        at org.apache.http.impl.nio.conn.CPoolEntry.close(CPoolEntry.java:100)
        at org.apache.http.nio.pool.AbstractNIOConnPool.processPendingRequest(AbstractNIOConnPool.java:375)
        at org.apache.http.nio.pool.AbstractNIOConnPool.lease(AbstractNIOConnPool.java:275)
        at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.requestConnection(PoolingNHttpClientConnectionManager.java:265)
        at org.apache.http.impl.nio.client.AbstractClientExchangeHandler.requestConnection(AbstractClientExchangeHandler.java:358)
        at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.start(DefaultClientExchangeHandlerImpl.java:125)
        at org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(InternalHttpAsyncClient.java:141)
        at org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:74)
        at org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:107)
        at org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:91)
        at com.aol.mail.httpclient.util.HttpActualSend.send(HttpActualSend.java:64)
        ... 38 common frames omitted
2016-07-19 11:18:10,965 ERROR [http-apr-127.0.0.1-8080-exec-208#7][mbs] - HTTP Post Exception
Detected: Max Retries Hit, failing request
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: I/O reactor has
been shut down
        at org.apache.http.concurrent.BasicFuture.getResult(BasicFuture.java:70)
        at org.apache.http.concurrent.BasicFuture.get(BasicFuture.java:91)
        at com.aol.mail.httpclient.util.HttpActualSend.send(HttpActualSend.java:71)
        at com.aol.mail.httpclient.util.HttpClientUtil.sendRequest(HttpClientUtil.java:50)
        at com.aol.mail.httpclient.util.HttpClientUtil.sendRequest(HttpClientUtil.java:29)
        at com.aol.mail.httpclient.util.HttpClientUtil.sendRequest(HttpClientUtil.java:25)
        at com.aol.mail.httpclient.util.HttpClientUtil.sendRequest(HttpClientUtil.java:21)
        at com.aol.mail.httpclient.util.ResponseUtil.getXmlResponse(ResponseUtil.java:26)
        at com.aol.mail.httpclient.util.ResponseUtil.getXmlResponse(ResponseUtil.java:55)
        at com.aol.mail.httpclient.mbs.MboxExistsRequest.getResponse(MboxExistsRequest.java:44)
        at com.aol.mail.services.omag.httpclient.MbsClientRequest.mboxExists(MbsClientRequest.java:28)
        at com.aol.mail.services.omag.util.GuidUtil.validateGuid(GuidUtil.java:85)
        at com.aol.mail.services.omag.api.OmagAbstractApiHandler.process(OmagAbstractApiHandler.java:121)
        at com.aol.mail.service.RequestDequeueProcessor.process(RequestDequeueProcessor.java:67)
        at com.aol.mail.service.ImmediateBroker.enqueueRequest(ImmediateBroker.java:17)
        at com.aol.mail.service.BrokerManager.enqueueRequest(BrokerManager.java:15)
        at com.aol.mail.api.AbstractApiHandler.processRequest(AbstractApiHandler.java:587)
        at com.aol.mail.api.AbstractApiHandler.doGet(AbstractApiHandler.java:117)
        at com.aol.mail.api.DispatcherServlet.doGet(DispatcherServlet.java:60)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:666)
        at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2445)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: I/O reactor has been shut down
        at org.apache.http.util.Asserts.check(Asserts.java:34)
        at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.connect(DefaultConnectingIOReactor.java:226)
        at org.apache.http.nio.pool.AbstractNIOConnPool.processPendingRequest(AbstractNIOConnPool.java:433)
        at org.apache.http.nio.pool.AbstractNIOConnPool.lease(AbstractNIOConnPool.java:275)
        at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.requestConnection(PoolingNHttpClientConnectionManager.java:265)
        at org.apache.http.impl.nio.client.AbstractClientExchangeHandler.requestConnection(AbstractClientExchangeHandler.java:358)
        at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.start(DefaultClientExchangeHandlerImpl.java:125)
        at org.apache.http.impl.nio.client.InternalHttpAsyncClient.execute(InternalHttpAsyncClient.java:141)
        at org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:74)
        at org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:107)
        at org.apache.http.impl.nio.client.CloseableHttpAsyncClient.execute(CloseableHttpAsyncClient.java:91)
        at com.aol.mail.httpclient.util.HttpActualSend.send(HttpActualSend.java:64)
        ... 38 common frames omitted



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message