hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <asan...@wso2.com>
Subject Re: [jira] Resolved: (HTTPCORE-60) Transport appears to be hanging because an unchecked exception caused the I/O dispatch thread to terminate
Date Thu, 22 Mar 2007 16:58:30 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Oleg/Ant <br>
<br>
I am guessing this is something to do with Windows or the JDK you use..
But I am unable to test this week, so will try to my best to try this
sometime next week. As I said, on Linux I have run the system through
thousands of messages and multiple threads concurrently and have fixed
all the issues I came across.<br>
<br>
So Oleg, I do not see this as a blocker for the HttpCore release - but
I will use your latest snapshots in Synapse to check on this in future
if it occurs again<br>
<br>
thanks<br>
asankha<br>
<br>
Oleg Kalnichevski (JIRA) wrote:
<blockquote cite="mid10931418.1174568912176.JavaMail.jira@brutus"
 type="cite">
  <pre wrap="">     [ <a class="moz-txt-link-freetext" href="https://issues.apache.org/jira/browse/HTTPCORE-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel">https://issues.apache.org/jira/browse/HTTPCORE-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel</a>
]

Oleg Kalnichevski resolved HTTPCORE-60.
---------------------------------------

    Resolution: Fixed

Anthony
It turned out ClosedChannelException is a checked I/O exception so it cannot kill the I/O
dispatch thread. So, apparently I was wrong in my initial assertion about the cause of the
Synapse I/O transport lockup. I tweaked HttpCore code a little and changed the IOSessionImpl
to catch all ChannelClosedException-s thrown by the underlying byte channel just in case.

Please review the changes and let me know if it is okay to proceed with the release

Oleg

  </pre>
  <blockquote type="cite">
    <pre wrap="">Transport appears to be hanging because an unchecked exception caused
the I/O dispatch thread to terminate
----------------------------------------------------------------------------------------------------------

                Key: HTTPCORE-60
                URL: <a class="moz-txt-link-freetext" href="https://issues.apache.org/jira/browse/HTTPCORE-60">https://issues.apache.org/jira/browse/HTTPCORE-60</a>
            Project: HttpComponents Core
         Issue Type: Bug
   Affects Versions: 4.0-alpha4
           Reporter: ant elder
        Assigned To: Oleg Kalnichevski
            Fix For: 4.0-alpha4


See discussion on synapse-dev mailing list: <a class="moz-txt-link-freetext" href="http://www.nabble.com/Intermittent-IO-Errors-using-Synapse-tf3439957.html">http://www.nabble.com/Intermittent-IO-Errors-using-Synapse-tf3439957.html</a>
The transport appears to be hanging because an unchecked exception
caused the I/O dispatch thread to terminate. I believe there are several
different types of problems (at least two) that we are seeing here.
[I/O reactor worker thread 5] ERROR ServerHandler - I/O Error : null
    </pre>
    <blockquote type="cite">
      <pre wrap="">java.nio.channels.ClosedChannelException
        at
sun.nio.ch.SocketChannelImpl.ensureReadOpen(SocketChannelImpl.java:112)
        at
sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:139)
      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
</body>
</html>

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


Mime
View raw message