synapse-dev mailing list archives

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


Jake Lambert commented on SYNAPSE-341:

No: see attached file for proxy service's client-side request and response.

> System unstable when HTTP response returned before request fully written
> ------------------------------------------------------------------------
>                 Key: SYNAPSE-341
>                 URL:
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 1.2-beta1
>         Environment: All environments
>            Reporter: Jake Lambert
>            Assignee: Asankha C. Perera
>            Priority: Critical
>             Fix For: 1.3
>         Attachments: ClientSideReqResp.txt
> 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
> java.lang.NullPointerException
> 	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