You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Apache Hudson Server <hu...@hudson.apache.org> on 2010/11/14 12:58:57 UTC
Hudson build became unstable: Synapse - Trunk » Apache Synapse - Non-blocking HTTP/s Transport #2901
See <https://hudson.apache.org/hudson/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-nhttp-transport/2901/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
Re: Hudson build became unstable: Synapse - Trunk » Apache Synapse - Non-blocking HTTP/s Transport #2901
Posted by Andreas Veithen <an...@gmail.com>.
This build actually failed because of a mismatch between the Axis2 and
Axiom versions. Interestingly, the only trace of the error in the logs
is this:
9 [main] DEBUG org.apache.synapse.transport.nhttp.Axis2HttpRequest -
Remote server aborted request being sent, and responded
The exception handling is done by the following piece of code in
Axis2HttpRequest:
Integer errorCode = msgContext == null ? null :
(Integer) msgContext.getProperty(NhttpConstants.ERROR_CODE);
if (errorCode == null || errorCode == NhttpConstants.SEND_ABORT) {
if (log.isDebugEnabled()) {
log.debug("Remote server aborted request being sent, and responded");
}
} else {
if (e instanceof AxisFault) {
throw (AxisFault) e;
} else {
handleException("Error streaming message context", e);
}
}
Since the exception occurs in Axis2 (SOAPMessageFormatter) which
doesn't know anything about the NHTTP transport, errorCode is
obviously null in this case. I would expect this kind of exception to
be rethrown instead of just causing a debug log. What is the rationale
for the errorCode == null condition in the if statement?
Andreas
On Sun, Nov 14, 2010 at 12:58, Apache Hudson Server
<hu...@hudson.apache.org> wrote:
> See <https://hudson.apache.org/hudson/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-nhttp-transport/2901/>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
Hudson build is back to stable : Synapse - Trunk » Apache Synapse - Non-blocking HTTP/s Transport #2903
Posted by Apache Hudson Server <hu...@hudson.apache.org>.
See <https://hudson.apache.org/hudson/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-nhttp-transport/2903/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
Hudson build is still unstable: Synapse - Trunk » Apache Synapse - Non-blocking HTTP/s Transport #2902
Posted by Apache Hudson Server <hu...@hudson.apache.org>.
See <https://hudson.apache.org/hudson/job/Synapse%20-%20Trunk/org.apache.synapse$synapse-nhttp-transport/2902/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org