You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Paul Fremantle <pz...@gmail.com> on 2007/05/02 13:03:44 UTC

Problem with RC2

When I load up Synapse I'm seeing the following error:

[HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse received
a response for the request with message Id :
urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback has not been
registered to process this response.

Under light load it doesn't happen but the more you load the more of
these messages I get. When this happens the response never comes back
to the test client. When I ran 1000 hits from 20 concurrent clients,
38 of them got lost this way.

Paul

-- 
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Re: Problem with RC2

Posted by Chathura Ekanayake <cc...@gmail.com>.
I have put a JIRA in AXIOM reporting this issue:
https://issues.apache.org/jira/browse/WSCOMMONS-201

Chathura

On 5/5/07, Chathura Ekanayake <cc...@gmail.com> wrote:
>
> Hi Paul, Asankha,
>
> This error is not caused by the timeout handler. If a timeout is not set,
> its default
> action is to do nothing. That means, it will never timeout and callbacks
> will not be removed by it.
>
> This error is caused by a bug in the UUIDGenerator of AXIOM. UUIDGenerator
> generates
> same UUID multiple times, when it is invoked large number of times
> concurrently.
> Therefore, some of the outgoing messages (Synapse to server) get the same
> UUID as the message ID.
> Once the response to first such message arrives at Synapse, its callback
> is removed and subsequent
> messages with the same ID won't find a callback. Therefore  they produce
> the below error:
>
> [HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse received
> a response for the request with message Id :
> urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback has not been
> registered to process this response.
>
> Synchronizing the UUIDGenerator access code in Synapse (inside
> Axis2FlexibleMEPClient.cloneForSend())
> solves the problem. But I think a better approach would be either to make
> the AXIOM's UUIDGenerator thread safe
> or have our own thread safe UUIDGenerator in Synapse.
>
> Chathura
>
> On 5/3/07, Asankha C. Perera <as...@wso2.com> wrote:
> >
> > Chathura
> >
> > I suspect that these were 'cleaned up' by the timeout handler..  Whats
> > the default timeout we have set to clear timeouts? Could you look into
> > this issue and set a value that would not hurt performance testing.. I
> > am assuming one minute to reply and then timeout is reasonable.. Maybe
> > we should log an INFO message with the message ID for timeouts that we
> > drop?
> >
> > asankha
> >
> > Paul Fremantle wrote:
> > > When I load up Synapse I'm seeing the following error:
> > >
> > > [HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse received
> > > a response for the request with message Id :
> > > urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback has not been
> > > registered to process this response.
> > >
> > > Under light load it doesn't happen but the more you load the more of
> > > these messages I get. When this happens the response never comes back
> > > to the test client. When I ran 1000 hits from 20 concurrent clients,
> > > 38 of them got lost this way.
> > >
> > > Paul
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: synapse-dev-help@ws.apache.org
> >
> >
>

Re: Problem with RC2

Posted by "Asankha C. Perera" <as...@wso2.com>.
I think the problem would be to get an Axiom version along with a new 
Axis2 revision that goes together.. if a bug fix point release becomes 
available within the timeframe we could certainly use it. I would 
consider this Axiom bug is quite severe for Axis2 as well and may become 
evident during load testing..

asankha

Paul Fremantle wrote:
> What is the timeline to get a release of Axiom so we can do our 1.0?
>
> Paul
>
> On 5/6/07, Asankha C. Perera <as...@wso2.com> wrote:
>> Paul
>>
>> I agree in theory that we should use a good UUID generator.. and the
>> "right" thing to do here is fix it where the problem is - in Axiom.
>> However, due to the time lines, I have fixed the existing UUID generator
>> to be thread safe without having to use synchronization. This fix runs
>> fast and correctly. So lets get the correct fix into Axiom, and remove
>> our implementation - which has been meant as 'throwaway'
>>
>> asankha
>>
>> Paul Fremantle wrote:
>> > What about commons id:
>> > http://jakarta.apache.org/commons/sandbox/id/uuid.html
>> >
>> >
>> > On 5/5/07, Paul Fremantle <pz...@gmail.com> wrote:
>> >> I'm concerned about the performance implication of having a 
>> threadsafe
>> >> UUID generator. Are there any algorithms for generating UUIDs very
>> >> fast?
>> >>
>> >> Paul
>> >>
>> >> PS nice work figuring this out!!! It can't have been easy.
>> >>
>> >>
>> >>
>> >> On 5/5/07, Chathura Ekanayake <cc...@gmail.com> wrote:
>> >> > Hi Paul, Asankha,
>> >> >
>> >> > This error is not caused by the timeout handler. If a timeout is
>> >> not set,
>> >> > its default
>> >> > action is to do nothing. That means, it will never timeout and
>> >> callbacks
>> >> > will not be removed by it.
>> >> >
>> >> > This error is caused by a bug in the UUIDGenerator of AXIOM.
>> >> UUIDGenerator
>> >> > generates
>> >> > same UUID multiple times, when it is invoked large number of times
>> >> > concurrently.
>> >> > Therefore, some of the outgoing messages (Synapse to server) get
>> >> the same
>> >> > UUID as the message ID.
>> >> > Once the response to first such message arrives at Synapse, its
>> >> callback is
>> >> > removed and subsequent
>> >> > messages with the same ID won't find a callback. Therefore  they
>> >> produce the
>> >> > below error:
>> >> >
>> >> > [HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse 
>> received
>> >> > a response for the request with message Id :
>> >> > urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback has
>> >> > not been
>> >> > registered to process this response.
>> >> >
>> >> > Synchronizing the UUIDGenerator access code in Synapse (inside
>> >> > Axis2FlexibleMEPClient.cloneForSend())
>> >> > solves the problem. But I think a better approach would be either
>> >> to make
>> >> > the AXIOM's UUIDGenerator thread safe
>> >> > or have our own thread safe UUIDGenerator in Synapse.
>> >> >
>> >> > Chathura
>> >> >
>> >> >
>> >> >  On 5/3/07, Asankha C. Perera <as...@wso2.com> wrote:
>> >> > > Chathura
>> >> > >
>> >> > > I suspect that these were 'cleaned up' by the timeout handler..
>> >> Whats
>> >> > > the default timeout we have set to clear timeouts? Could you look
>> >> into
>> >> > > this issue and set a value that would not hurt performance
>> >> testing.. I
>> >> > > am assuming one minute to reply and then timeout is reasonable..
>> >> Maybe
>> >> > > we should log an INFO message with the message ID for timeouts
>> >> that we
>> >> > drop?
>> >> > >
>> >> > > asankha
>> >> > >
>> >> > > Paul Fremantle wrote:
>> >> > > > When I load up Synapse I'm seeing the following error:
>> >> > > >
>> >> > > > [HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse
>> >> received
>> >> > > > a response for the request with message Id :
>> >> > > > urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback
>> >> > has not been
>> >> > > > registered to process this response.
>> >> > > >
>> >> > > > Under light load it doesn't happen but the more you load the
>> >> more of
>> >> > > > these messages I get. When this happens the response never
>> >> comes back
>> >> > > > to the test client. When I ran 1000 hits from 20 concurrent
>> >> clients,
>> >> > > > 38 of them got lost this way.
>> >> > > >
>> >> > > > Paul
>> >> > > >
>> >> > >
>> >> > >
>> >> > 
>> ---------------------------------------------------------------------
>> >> > > To unsubscribe, e-mail:
>> >> > synapse-dev-unsubscribe@ws.apache.org
>> >> > > For additional commands, e-mail: synapse-dev-help@ws.apache.org
>> >> > >
>> >> > >
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >> Paul Fremantle
>> >> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>> >>
>> >> http://bloglines.com/blog/paulfremantle
>> >> paul@wso2.com
>> >>
>> >> "Oxygenating the Web Service Platform", www.wso2.com
>> >>
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: synapse-dev-help@ws.apache.org
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Re: Problem with RC2

Posted by Paul Fremantle <pz...@gmail.com>.
What is the timeline to get a release of Axiom so we can do our 1.0?

Paul

On 5/6/07, Asankha C. Perera <as...@wso2.com> wrote:
> Paul
>
> I agree in theory that we should use a good UUID generator.. and the
> "right" thing to do here is fix it where the problem is - in Axiom.
> However, due to the time lines, I have fixed the existing UUID generator
> to be thread safe without having to use synchronization. This fix runs
> fast and correctly. So lets get the correct fix into Axiom, and remove
> our implementation - which has been meant as 'throwaway'
>
> asankha
>
> Paul Fremantle wrote:
> > What about commons id:
> > http://jakarta.apache.org/commons/sandbox/id/uuid.html
> >
> >
> > On 5/5/07, Paul Fremantle <pz...@gmail.com> wrote:
> >> I'm concerned about the performance implication of having a threadsafe
> >> UUID generator. Are there any algorithms for generating UUIDs very
> >> fast?
> >>
> >> Paul
> >>
> >> PS nice work figuring this out!!! It can't have been easy.
> >>
> >>
> >>
> >> On 5/5/07, Chathura Ekanayake <cc...@gmail.com> wrote:
> >> > Hi Paul, Asankha,
> >> >
> >> > This error is not caused by the timeout handler. If a timeout is
> >> not set,
> >> > its default
> >> > action is to do nothing. That means, it will never timeout and
> >> callbacks
> >> > will not be removed by it.
> >> >
> >> > This error is caused by a bug in the UUIDGenerator of AXIOM.
> >> UUIDGenerator
> >> > generates
> >> > same UUID multiple times, when it is invoked large number of times
> >> > concurrently.
> >> > Therefore, some of the outgoing messages (Synapse to server) get
> >> the same
> >> > UUID as the message ID.
> >> > Once the response to first such message arrives at Synapse, its
> >> callback is
> >> > removed and subsequent
> >> > messages with the same ID won't find a callback. Therefore  they
> >> produce the
> >> > below error:
> >> >
> >> > [HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse received
> >> > a response for the request with message Id :
> >> > urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback has
> >> > not been
> >> > registered to process this response.
> >> >
> >> > Synchronizing the UUIDGenerator access code in Synapse (inside
> >> > Axis2FlexibleMEPClient.cloneForSend())
> >> > solves the problem. But I think a better approach would be either
> >> to make
> >> > the AXIOM's UUIDGenerator thread safe
> >> > or have our own thread safe UUIDGenerator in Synapse.
> >> >
> >> > Chathura
> >> >
> >> >
> >> >  On 5/3/07, Asankha C. Perera <as...@wso2.com> wrote:
> >> > > Chathura
> >> > >
> >> > > I suspect that these were 'cleaned up' by the timeout handler..
> >> Whats
> >> > > the default timeout we have set to clear timeouts? Could you look
> >> into
> >> > > this issue and set a value that would not hurt performance
> >> testing.. I
> >> > > am assuming one minute to reply and then timeout is reasonable..
> >> Maybe
> >> > > we should log an INFO message with the message ID for timeouts
> >> that we
> >> > drop?
> >> > >
> >> > > asankha
> >> > >
> >> > > Paul Fremantle wrote:
> >> > > > When I load up Synapse I'm seeing the following error:
> >> > > >
> >> > > > [HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse
> >> received
> >> > > > a response for the request with message Id :
> >> > > > urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback
> >> > has not been
> >> > > > registered to process this response.
> >> > > >
> >> > > > Under light load it doesn't happen but the more you load the
> >> more of
> >> > > > these messages I get. When this happens the response never
> >> comes back
> >> > > > to the test client. When I ran 1000 hits from 20 concurrent
> >> clients,
> >> > > > 38 of them got lost this way.
> >> > > >
> >> > > > Paul
> >> > > >
> >> > >
> >> > >
> >> > ---------------------------------------------------------------------
> >> > > To unsubscribe, e-mail:
> >> > synapse-dev-unsubscribe@ws.apache.org
> >> > > For additional commands, e-mail: synapse-dev-help@ws.apache.org
> >> > >
> >> > >
> >> >
> >> >
> >>
> >>
> >> --
> >> Paul Fremantle
> >> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
> >>
> >> http://bloglines.com/blog/paulfremantle
> >> paul@wso2.com
> >>
> >> "Oxygenating the Web Service Platform", www.wso2.com
> >>
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: synapse-dev-help@ws.apache.org
>
>


-- 
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Re: Problem with RC2

Posted by "Asankha C. Perera" <as...@wso2.com>.
Paul

I agree in theory that we should use a good UUID generator.. and the
"right" thing to do here is fix it where the problem is - in Axiom.
However, due to the time lines, I have fixed the existing UUID generator
to be thread safe without having to use synchronization. This fix runs
fast and correctly. So lets get the correct fix into Axiom, and remove
our implementation - which has been meant as 'throwaway'

asankha

Paul Fremantle wrote:
> What about commons id:
> http://jakarta.apache.org/commons/sandbox/id/uuid.html
>
>
> On 5/5/07, Paul Fremantle <pz...@gmail.com> wrote:
>> I'm concerned about the performance implication of having a threadsafe
>> UUID generator. Are there any algorithms for generating UUIDs very
>> fast?
>>
>> Paul
>>
>> PS nice work figuring this out!!! It can't have been easy.
>>
>>
>>
>> On 5/5/07, Chathura Ekanayake <cc...@gmail.com> wrote:
>> > Hi Paul, Asankha,
>> >
>> > This error is not caused by the timeout handler. If a timeout is 
>> not set,
>> > its default
>> > action is to do nothing. That means, it will never timeout and 
>> callbacks
>> > will not be removed by it.
>> >
>> > This error is caused by a bug in the UUIDGenerator of AXIOM. 
>> UUIDGenerator
>> > generates
>> > same UUID multiple times, when it is invoked large number of times
>> > concurrently.
>> > Therefore, some of the outgoing messages (Synapse to server) get 
>> the same
>> > UUID as the message ID.
>> > Once the response to first such message arrives at Synapse, its 
>> callback is
>> > removed and subsequent
>> > messages with the same ID won't find a callback. Therefore  they 
>> produce the
>> > below error:
>> >
>> > [HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse received
>> > a response for the request with message Id :
>> > urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback has
>> > not been
>> > registered to process this response.
>> >
>> > Synchronizing the UUIDGenerator access code in Synapse (inside
>> > Axis2FlexibleMEPClient.cloneForSend())
>> > solves the problem. But I think a better approach would be either 
>> to make
>> > the AXIOM's UUIDGenerator thread safe
>> > or have our own thread safe UUIDGenerator in Synapse.
>> >
>> > Chathura
>> >
>> >
>> >  On 5/3/07, Asankha C. Perera <as...@wso2.com> wrote:
>> > > Chathura
>> > >
>> > > I suspect that these were 'cleaned up' by the timeout handler..  
>> Whats
>> > > the default timeout we have set to clear timeouts? Could you look 
>> into
>> > > this issue and set a value that would not hurt performance 
>> testing.. I
>> > > am assuming one minute to reply and then timeout is reasonable.. 
>> Maybe
>> > > we should log an INFO message with the message ID for timeouts 
>> that we
>> > drop?
>> > >
>> > > asankha
>> > >
>> > > Paul Fremantle wrote:
>> > > > When I load up Synapse I'm seeing the following error:
>> > > >
>> > > > [HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse 
>> received
>> > > > a response for the request with message Id :
>> > > > urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback
>> > has not been
>> > > > registered to process this response.
>> > > >
>> > > > Under light load it doesn't happen but the more you load the 
>> more of
>> > > > these messages I get. When this happens the response never 
>> comes back
>> > > > to the test client. When I ran 1000 hits from 20 concurrent 
>> clients,
>> > > > 38 of them got lost this way.
>> > > >
>> > > > Paul
>> > > >
>> > >
>> > >
>> > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail:
>> > synapse-dev-unsubscribe@ws.apache.org
>> > > For additional commands, e-mail: synapse-dev-help@ws.apache.org
>> > >
>> > >
>> >
>> >
>>
>>
>> -- 
>> Paul Fremantle
>> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>>
>> http://bloglines.com/blog/paulfremantle
>> paul@wso2.com
>>
>> "Oxygenating the Web Service Platform", www.wso2.com
>>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Re: Problem with RC2

Posted by Paul Fremantle <pz...@gmail.com>.
What about commons id:
http://jakarta.apache.org/commons/sandbox/id/uuid.html


On 5/5/07, Paul Fremantle <pz...@gmail.com> wrote:
> I'm concerned about the performance implication of having a threadsafe
> UUID generator. Are there any algorithms for generating UUIDs very
> fast?
>
> Paul
>
> PS nice work figuring this out!!! It can't have been easy.
>
>
>
> On 5/5/07, Chathura Ekanayake <cc...@gmail.com> wrote:
> > Hi Paul, Asankha,
> >
> > This error is not caused by the timeout handler. If a timeout is not set,
> > its default
> > action is to do nothing. That means, it will never timeout and callbacks
> > will not be removed by it.
> >
> > This error is caused by a bug in the UUIDGenerator of AXIOM. UUIDGenerator
> > generates
> > same UUID multiple times, when it is invoked large number of times
> > concurrently.
> > Therefore, some of the outgoing messages (Synapse to server) get the same
> > UUID as the message ID.
> > Once the response to first such message arrives at Synapse, its callback is
> > removed and subsequent
> > messages with the same ID won't find a callback. Therefore  they produce the
> > below error:
> >
> > [HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse received
> > a response for the request with message Id :
> > urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback has
> > not been
> > registered to process this response.
> >
> > Synchronizing the UUIDGenerator access code in Synapse (inside
> > Axis2FlexibleMEPClient.cloneForSend())
> > solves the problem. But I think a better approach would be either to make
> > the AXIOM's UUIDGenerator thread safe
> > or have our own thread safe UUIDGenerator in Synapse.
> >
> > Chathura
> >
> >
> >  On 5/3/07, Asankha C. Perera <as...@wso2.com> wrote:
> > > Chathura
> > >
> > > I suspect that these were 'cleaned up' by the timeout handler..  Whats
> > > the default timeout we have set to clear timeouts? Could you look into
> > > this issue and set a value that would not hurt performance testing.. I
> > > am assuming one minute to reply and then timeout is reasonable.. Maybe
> > > we should log an INFO message with the message ID for timeouts that we
> > drop?
> > >
> > > asankha
> > >
> > > Paul Fremantle wrote:
> > > > When I load up Synapse I'm seeing the following error:
> > > >
> > > > [HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse received
> > > > a response for the request with message Id :
> > > > urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback
> > has not been
> > > > registered to process this response.
> > > >
> > > > Under light load it doesn't happen but the more you load the more of
> > > > these messages I get. When this happens the response never comes back
> > > > to the test client. When I ran 1000 hits from 20 concurrent clients,
> > > > 38 of them got lost this way.
> > > >
> > > > Paul
> > > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > synapse-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: synapse-dev-help@ws.apache.org
> > >
> > >
> >
> >
>
>
> --
> Paul Fremantle
> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>
> http://bloglines.com/blog/paulfremantle
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>


-- 
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Re: Problem with RC2

Posted by Paul Fremantle <pz...@gmail.com>.
I'm concerned about the performance implication of having a threadsafe
UUID generator. Are there any algorithms for generating UUIDs very
fast?

Paul

PS nice work figuring this out!!! It can't have been easy.



On 5/5/07, Chathura Ekanayake <cc...@gmail.com> wrote:
> Hi Paul, Asankha,
>
> This error is not caused by the timeout handler. If a timeout is not set,
> its default
> action is to do nothing. That means, it will never timeout and callbacks
> will not be removed by it.
>
> This error is caused by a bug in the UUIDGenerator of AXIOM. UUIDGenerator
> generates
> same UUID multiple times, when it is invoked large number of times
> concurrently.
> Therefore, some of the outgoing messages (Synapse to server) get the same
> UUID as the message ID.
> Once the response to first such message arrives at Synapse, its callback is
> removed and subsequent
> messages with the same ID won't find a callback. Therefore  they produce the
> below error:
>
> [HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse received
> a response for the request with message Id :
> urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback has
> not been
> registered to process this response.
>
> Synchronizing the UUIDGenerator access code in Synapse (inside
> Axis2FlexibleMEPClient.cloneForSend())
> solves the problem. But I think a better approach would be either to make
> the AXIOM's UUIDGenerator thread safe
> or have our own thread safe UUIDGenerator in Synapse.
>
> Chathura
>
>
>  On 5/3/07, Asankha C. Perera <as...@wso2.com> wrote:
> > Chathura
> >
> > I suspect that these were 'cleaned up' by the timeout handler..  Whats
> > the default timeout we have set to clear timeouts? Could you look into
> > this issue and set a value that would not hurt performance testing.. I
> > am assuming one minute to reply and then timeout is reasonable.. Maybe
> > we should log an INFO message with the message ID for timeouts that we
> drop?
> >
> > asankha
> >
> > Paul Fremantle wrote:
> > > When I load up Synapse I'm seeing the following error:
> > >
> > > [HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse received
> > > a response for the request with message Id :
> > > urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback
> has not been
> > > registered to process this response.
> > >
> > > Under light load it doesn't happen but the more you load the more of
> > > these messages I get. When this happens the response never comes back
> > > to the test client. When I ran 1000 hits from 20 concurrent clients,
> > > 38 of them got lost this way.
> > >
> > > Paul
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> synapse-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: synapse-dev-help@ws.apache.org
> >
> >
>
>


-- 
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
paul@wso2.com

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Re: Problem with RC2

Posted by Chathura Ekanayake <cc...@gmail.com>.
Hi Paul, Asankha,

This error is not caused by the timeout handler. If a timeout is not set,
its default
action is to do nothing. That means, it will never timeout and callbacks
will not be removed by it.

This error is caused by a bug in the UUIDGenerator of AXIOM. UUIDGenerator
generates
same UUID multiple times, when it is invoked large number of times
concurrently.
Therefore, some of the outgoing messages (Synapse to server) get the same
UUID as the message ID.
Once the response to first such message arrives at Synapse, its callback is
removed and subsequent
messages with the same ID won't find a callback. Therefore  they produce the
below error:

[HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse received
a response for the request with message Id :
urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback has not been
registered to process this response.

Synchronizing the UUIDGenerator access code in Synapse (inside
Axis2FlexibleMEPClient.cloneForSend())
solves the problem. But I think a better approach would be either to make
the AXIOM's UUIDGenerator thread safe
or have our own thread safe UUIDGenerator in Synapse.

Chathura

On 5/3/07, Asankha C. Perera <as...@wso2.com> wrote:
>
> Chathura
>
> I suspect that these were 'cleaned up' by the timeout handler..  Whats
> the default timeout we have set to clear timeouts? Could you look into
> this issue and set a value that would not hurt performance testing.. I
> am assuming one minute to reply and then timeout is reasonable.. Maybe
> we should log an INFO message with the message ID for timeouts that we
> drop?
>
> asankha
>
> Paul Fremantle wrote:
> > When I load up Synapse I'm seeing the following error:
> >
> > [HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse received
> > a response for the request with message Id :
> > urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback has not been
> > registered to process this response.
> >
> > Under light load it doesn't happen but the more you load the more of
> > these messages I get. When this happens the response never comes back
> > to the test client. When I ran 1000 hits from 20 concurrent clients,
> > 38 of them got lost this way.
> >
> > Paul
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: synapse-dev-help@ws.apache.org
>
>

Re: Problem with RC2

Posted by "Asankha C. Perera" <as...@wso2.com>.
Chathura

I suspect that these were 'cleaned up' by the timeout handler..  Whats 
the default timeout we have set to clear timeouts? Could you look into 
this issue and set a value that would not hurt performance testing.. I 
am assuming one minute to reply and then timeout is reasonable.. Maybe 
we should log an INFO message with the message ID for timeouts that we drop?

asankha

Paul Fremantle wrote:
> When I load up Synapse I'm seeing the following error:
>
> [HttpClientWorker-3] WARN  SynapseCallbackReceiver - Synapse received
> a response for the request with message Id :
> urn:uuid:7CD39BD337DE2BBBCD1178099875927 But a callback has not been
> registered to process this response.
>
> Under light load it doesn't happen but the more you load the more of
> these messages I get. When this happens the response never comes back
> to the test client. When I ran 1000 hits from 20 concurrent clients,
> 38 of them got lost this way.
>
> Paul
>

---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org