Ant / Oleg
I can recreate this issue on both Windows and Linux and think its
caused by my code related to use of Pipes.. and I am actively looking
into this right now.. will get back to you on what I find.
asankha
ant elder wrote:
I've tried on several JDKs now and _always_ get similar
intermittent I/O related errors. I can use JMeter directly against
Axis2-1.1.1 without any problems at all, so this does look like some
issue with the NIO transport. Be really good to hear from other Windows
users to see if this is just my specific environment or a more general
problem problem.
To recreate:
1) build Synapse server sample by running 'ant' in the
samples\axis2Server\src\SimpleStockQuoteService directory
2) start the sample service by running
samples\axis2Server\axis2server.bat
3) get the Synapse config (either 8 or 501) from http://people.apache.org/~antelder/temp/,
put in repository\conf\sample and start syanps: bin\synapse.bat
-sample=8
4) get the JMeter config test1.jmx from http://people.apache.org/~antelder/temp/,
start Jmeter and File -> Open and point to the test1.jmx file
5) JMeter Run -> Start and after not to long IO errors should appear
in the Syanpse console
...ant
---------- Forwarded message ----------
From: Asankha
C. Perera <[EMAIL PROTECTED]>
Date: Mar 22, 2007 4:58 PM
Subject: Re: [jira] Resolved: (HTTPCORE-60) Transport appears to be
hanging because an unchecked exception caused the I/O dispatch thread
to terminate
To: HttpComponents Project <
[email protected]>
Oleg/Ant
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.
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
thanks
asankha
Oleg Kalnichevski (JIRA) wrote:
[ https://issues.apache.org/jira/browse/HTTPCORE-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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
Transport appears to be hanging because an unchecked exception caused the I/O dispatch thread to terminate
----------------------------------------------------------------------------------------------------------
Key: HTTPCORE-60
URL: https://issues.apache.org/jira/browse/HTTPCORE-60
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: http://www.nabble.com/Intermittent-IO-Errors-using-Synapse-tf3439957.html
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
java.nio.channels.ClosedChannelException
at
sun.nio.ch.SocketChannelImpl.ensureReadOpen(SocketChannelImpl.java:112)
at
sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:139)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
|