Hi,
This is regarding the sample 53 for the esb 4.8.1. I set up 3 servers and
ran the sample and randomly closed and restarted the three servers. Most of
the time the esb sends the message to the correct server according to the
order. But sometimes I get the following message from the client
application. After getting the message, everything halts.
[java] Request: 3838 ==> Response from server: Myserver1
[java] Request: 3839 ==> Response from server: Myserver1
[java] javax.xml.stream.XMLStreamException: ParseError at
[row,col]:[1,1]
[java] Message: Premature end of file.
There is no error message on the esb. I tried to restart the client app,
but I get the same message. It works when I restart the esb. Is this a bug
or is this the way it should happen? Is there any explanation for this? I
found a similar kind of issue for sample 58 in [1]
I get the following message on the esb every time I restart the client app
(servers are all up).
[2014-04-08 11:20:16,440] DEBUG - SynapseMessageReceiver Synapse received a
new message for message mediation...
[2014-04-08 11:20:16,440] DEBUG - SynapseMessageReceiver Received To:
/services/LBService1
[2014-04-08 11:20:16,440] DEBUG - SynapseMessageReceiver SOAPAction:
urn:sampleOperation
[2014-04-08 11:20:16,440] DEBUG - SynapseMessageReceiver WSA-Action:
urn:sampleOperation
[2014-04-08 11:20:16,440] DEBUG - Axis2SynapseEnvironment Injecting
MessageContext
[2014-04-08 11:20:16,440] DEBUG - Axis2SynapseEnvironment Using Main
Sequence for injected message
[2014-04-08 11:20:16,440] DEBUG - SequenceMediator Start : Sequence <main>
[2014-04-08 11:20:16,440] DEBUG - SequenceMediator Setting the onError
handler : errorHandler for the sequence : main
[2014-04-08 11:20:16,440] DEBUG - SequenceMediator Sequence
<SequenceMediator> :: mediate()
[2014-04-08 11:20:16,440] DEBUG - SequenceMediator Mediation started from
mediator position : 0
[2014-04-08 11:20:16,440] DEBUG - InMediator Start : In mediator
[2014-04-08 11:20:16,440] DEBUG - InMediator Current message is incoming -
executing child mediators
[2014-04-08 11:20:16,440] DEBUG - InMediator Sequence <InMediator> ::
mediate()
[2014-04-08 11:20:16,440] DEBUG - InMediator Mediation started from
mediator position : 0
[2014-04-08 11:20:16,440] DEBUG - SendMediator Start : Send mediator
[2014-04-08 11:20:16,440] DEBUG - FailoverEndpoint Failover Endpoint : null
[2014-04-08 11:20:16,440] DEBUG - FailoverEndpoint AnonymousEndpoint
Building the SoapEnvelope
[2014-04-08 11:20:16,440] DEBUG - EndpointContext Checking if endpoint :
AnonymousEndpoint currently at state ACTIVE can be used now?
[2014-04-08 11:20:16,440] DEBUG - AddressEndpoint Sending message through
endpoint : null resolving to address =
http://localhost:9001/services/LBService1
[2014-04-08 11:20:16,441] DEBUG - AddressEndpoint SOAPAction:
urn:sampleOperation
[2014-04-08 11:20:16,441] DEBUG - AddressEndpoint WSA-Action:
urn:sampleOperation
[2014-04-08 11:20:16,441] DEBUG - Axis2FlexibleMEPClient Sending [add =
true] [sec = false] [rm = false] [mtom = false] [swa = false] [format =
null] [force soap11=false] [force soap12=false] [pox=false] [get=false]
[encoding=null] [to=http://localhost:9001/services/LBService1]
[2014-04-08 11:20:16,441] DEBUG - Axis2FlexibleMEPClient Message [Original
Request Message ID : urn:uuid:a658d3cf-119a-477b-87f4-73cdcc4141b1] [New
Cloned Request Message ID : urn:uuid:1f129ef4-0fa2-40d6-83fa-322878031232]
[2014-04-08 11:20:16,441] DEBUG - SynapseCallbackReceiver Callback added.
Total callbacks waiting for : 1
[2014-04-08 11:20:16,443] DEBUG - SendMediator End : Send mediator
[2014-04-08 11:20:16,443] DEBUG - DropMediator Start : Drop mediator
[2014-04-08 11:20:16,443] DEBUG - DropMediator End : Drop mediator
[2014-04-08 11:20:16,443] DEBUG - InMediator End : In mediator
[2014-04-08 11:20:16,443] DEBUG - SequenceMediator End : Sequence <main>
[2014-04-08 11:20:16,446] DEBUG - SynapseCallbackReceiver Callback removed
for request message id : urn:uuid:1f129ef4-0fa2-40d6-83fa-322878031232.
Pending callbacks count : 0
[2014-04-08 11:20:16,446] DEBUG - SynapseCallbackReceiver Synapse received
an asynchronous response message
[2014-04-08 11:20:16,446] DEBUG - SynapseCallbackReceiver Received To: null
[2014-04-08 11:20:16,446] DEBUG - SynapseCallbackReceiver SOAPAction:
[2014-04-08 11:20:16,446] DEBUG - SynapseCallbackReceiver WSA-Action:
[2014-04-08 11:20:16,446] DEBUG - SynapseCallbackReceiver Body :
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/
"><soapenv:Body></soapenv:Body></soapenv:Envelope>
[2014-04-08 11:20:16,446] DEBUG - Axis2SynapseEnvironment Injecting
MessageContext
[2014-04-08 11:20:16,446] DEBUG - Axis2SynapseEnvironment Using Main
Sequence for injected message
[2014-04-08 11:20:16,446] DEBUG - SequenceMediator Start : Sequence <main>
[2014-04-08 11:20:16,446] DEBUG - SequenceMediator Setting the onError
handler : errorHandler for the sequence : main
[2014-04-08 11:20:16,446] DEBUG - SequenceMediator Sequence
<SequenceMediator> :: mediate()
[2014-04-08 11:20:16,446] DEBUG - SequenceMediator Mediation started from
mediator position : 0
[2014-04-08 11:20:16,446] DEBUG - InMediator Start : In mediator
[2014-04-08 11:20:16,446] DEBUG - InMediator Current message is a response
- skipping child mediators
[2014-04-08 11:20:16,446] DEBUG - InMediator End : In mediator
[2014-04-08 11:20:16,446] DEBUG - OutMediator Start : Out mediator
[2014-04-08 11:20:16,446] DEBUG - OutMediator Current message is outgoing -
executing child mediators
[2014-04-08 11:20:16,446] DEBUG - OutMediator Sequence <OutMediator> ::
mediate()
[2014-04-08 11:20:16,446] DEBUG - OutMediator Mediation started from
mediator position : 0
[2014-04-08 11:20:16,446] DEBUG - SendMediator Start : Send mediator
[2014-04-08 11:20:16,446] DEBUG - SendMediator Sending response message
using implicit message properties..
Sending To: http://www.w3.org/2005/08/addressing/anonymous
SOAPAction:
[2014-04-08 11:20:16,448] DEBUG - SendMediator End : Send mediator
[2014-04-08 11:20:16,448] DEBUG - OutMediator End : Out mediator
[2014-04-08 11:20:16,448] DEBUG - SequenceMediator End : Sequence <main>
[1] https://wso2.org/jira/browse/ESBJAVA-2973
--
Regards,
Chamila Adhikarinayake
Software Engineer
WSO2, Inc.
Email - [email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev