You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Michele Mazzucco <Mi...@ncl.ac.uk> on 2008/01/18 18:10:30 UTC
[axis2] AxisFault in ClientHandler
Hi all,
I'm using the NIO Sender and I've noticed this log on the server side
ERROR 16:59:13,020 (ClientHandler.java:334) - Unable to report back 202
Accepted state to the message receiver
org.apache.axis2.AxisFault: A message was added that is not valid.
However, the operation context was complete.
at
org.apache.axis2.description.InOutAxisOperation.addMessageContext(InOutAxisOperation.java:50)
at
org.apache.axis2.context.OperationContext.addMessageContext(OperationContext.java:210)
at
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:40)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
at
org.apache.axis2.transport.nhttp.ClientHandler.responseReceived(ClientHandler.java:331)
at
org.apache.axis2.transport.nhttp.LoggingNHttpClientHandler.responseReceived(LoggingNHttpClientHandler.java:99)
at
org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:101)
at
org.apache.axis2.transport.nhttp.PlainClientIOEventDispatch.inputReady(PlainClientIOEventDispatch.java:71)
at
org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:68)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:160)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:145)
at
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:127)
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor
$Worker.run(AbstractMultiworkerIOReactor.java:162)
at java.lang.Thread.run(Thread.java:595)
The log states that the message is not valid... however the response is
very simple and it's created by this method:
/**
* Creates the result message.
*
* @return The result message.
*/
static final OMElement getResult(String service) {
OMNamespace omNs = factory.createOMNamespace(URI, service);
OMElement result = factory.createOMElement(RESULT, omNs);
OMElement value = factory.createOMElement(STATUS, omNs);
value.setText(OK);
result.addChild(value);
return result;
}
Any idea?
Michele
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: [axis2] AxisFault in ClientHandler
Posted by Deepal jayasinghe <de...@gmail.com>.
Hi Michele,
As I can see this is a bug in NIO code , so could you please create a JIRA
Thanks
Deepal
> Hi all,
>
>
> I'm using the NIO Sender and I've noticed this log on the server side
>
> ERROR 16:59:13,020 (ClientHandler.java:334) - Unable to report back 202
> Accepted state to the message receiver
> org.apache.axis2.AxisFault: A message was added that is not valid.
> However, the operation context was complete.
> at
> org.apache.axis2.description.InOutAxisOperation.addMessageContext(InOutAxisOperation.java:50)
> at
> org.apache.axis2.context.OperationContext.addMessageContext(OperationContext.java:210)
> at
> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:40)
> at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
> at
> org.apache.axis2.transport.nhttp.ClientHandler.responseReceived(ClientHandler.java:331)
> at
> org.apache.axis2.transport.nhttp.LoggingNHttpClientHandler.responseReceived(LoggingNHttpClientHandler.java:99)
> at
> org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:101)
> at
> org.apache.axis2.transport.nhttp.PlainClientIOEventDispatch.inputReady(PlainClientIOEventDispatch.java:71)
> at
> org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:68)
> at
> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:160)
> at
> org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:145)
> at
> org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:127)
> at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor
> $Worker.run(AbstractMultiworkerIOReactor.java:162)
> at java.lang.Thread.run(Thread.java:595)
>
>
>
> The log states that the message is not valid... however the response is
> very simple and it's created by this method:
>
> /**
> * Creates the result message.
> *
> * @return The result message.
> */
> static final OMElement getResult(String service) {
> OMNamespace omNs = factory.createOMNamespace(URI, service);
>
> OMElement result = factory.createOMElement(RESULT, omNs);
> OMElement value = factory.createOMElement(STATUS, omNs);
> value.setText(OK);
> result.addChild(value);
>
> return result;
> }
>
>
> Any idea?
> Michele
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org