synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jake Lambert (JIRA)" <>
Subject [jira] Created: (SYNAPSE-341) System unstable when HTTP response returned before request fully written
Date Tue, 03 Jun 2008 20:16:45 GMT
System unstable when HTTP response returned before request fully written

                 Key: SYNAPSE-341
             Project: Synapse
          Issue Type: Bug
          Components: Transports
    Affects Versions: 1.2-beta1
         Environment: All environments
            Reporter: Jake Lambert
            Priority: Critical

When using a proxy service and HTTP-NIO the following error is repeatedly generated when a
remote WS returns its response before the request is fully written (i.e. when AXIOM is being
used by the target service to parse the request XML and the request includes unprocessed attachment(s)
or a fault occurs before fully reading the request):

I/O dispatcher 12: System may be unstable: IOReactor encountered a runtime exception : null
	at org.apache.synapse.transport.nhttp.ClientHandler.outputReady(
	at org.apache.http.impl.nio.DefaultNHttpClientConnection.produceOutput(
	at org.apache.http.impl.nio.DefaultClientIOEventDispatch.outputReady(
	at org.apache.http.impl.nio.reactor.BaseIOReactor.writable(
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(
	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$
	at Source)

The actual cause is the ConnectionPool 'cleanConnectionReferences()' method, which clears
the REQUEST_SOURCE_BUFFER upon completion of the response HTTP decoding, rather than on completion
of both the request AND response processing.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message