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">
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
Oleg/Ant <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>
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>
Oleg Kalnichevski (JIRA) wrote:
<blockquote cite="mid10931418.1174568912176.JavaMail.jira@brutus"
  <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

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


  <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
    <blockquote type="cite">
      <pre wrap="">java.nio.channels.ClosedChannelException
  <pre wrap=""><!---->

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

View raw message