Thanks Akila. That is the exact issue.

*T. Pranavan*
*BSc Eng Undergraduate| Department of Computer Science & Engineering
,University of Moratuwa*
*Mobile| *0775136836

On 16 August 2015 at 18:25, Akila Ravihansa Perera <raviha...@wso2.com>
wrote:

> Hi Pranavan,
>
> There is a bug in your code at [1]. Compare with other processors and fix
> it.
>
> [1]
> https://github.com/Pranavan135/stratos/blob/CurveFittingGSoC/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/health/stat/MemberCurveFinderOfMemoryConsumptionMessageProcessor.java#L23
>
> Thanks.
>
> On Sun, Aug 16, 2015 at 6:13 PM, Pranavan Theivendiram <
> pranavan...@cse.mrt.ac.lk> wrote:
>
>> Hi Akila,
>>
>> I have already done it. You can find my source below.
>>
>> 1 - https://github.com/pranavan135/stratos/tree/CurveFittingGSoC
>>
>> *T. Pranavan*
>> *BSc Eng Undergraduate| Department of Computer Science & Engineering
>> ,University of Moratuwa*
>> *Mobile| *0775136836
>>
>> On 16 August 2015 at 18:07, Akila Ravihansa Perera <raviha...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> If you are introducing a new messaging event then you need to register
>>> that in corresponding message processor. For eg. if it is a health stat
>>> event, then you need to add that in [1].
>>>
>>> [1]
>>> https://github.com/apache/stratos/blob/master/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/health/stat/HealthStatMessageProcessorChain.java
>>>
>>> Thanks.
>>>
>>> On Sun, Aug 16, 2015 at 5:32 PM, Pranavan Theivendiram <
>>> pranavan...@cse.mrt.ac.lk> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> I am getting the following error.
>>>> *ERROR
>>>> {org.apache.stratos.messaging.message.receiver.health.stat.HealthStatEventMessageDelegator}
>>>> -  Failed to retrieve instance notifier event message*
>>>> *java.lang.RuntimeException: Failed to process health stat message
>>>> using available message processors: [type]
>>>> org.apache.stratos.messaging.event.health.stat.MemberCurveFinderOfMemoryConsumptionEvent
>>>> [body]
>>>> {"memberId":"single-cartridge-app.my-php.php.domain6503dcf6-0153-4db5-8c66-9c1850d55f63","clusterId":"single-cartridge-app.my-php.php.domain","clusterInstanceId":"single-cartridge-app-1","networkPartitionId":"network-partition-1","value":"20.0","a":"33.316395663089395","b":"-2.5733934070428807E-6","c":"1.787408221281359E-18"}*
>>>>
>>>> Can anyone point out what could be the reason?
>>>>
>>>> My implementation can be found in the following link.
>>>> 1 - https://github.com/pranavan135/stratos/tree/CurveFittingGSoC
>>>>
>>>> Thanks
>>>> *T. Pranavan*
>>>> *BSc Eng Undergraduate| Department of Computer Science & Engineering
>>>> ,University of Moratuwa*
>>>> *Mobile| *0775136836
>>>>
>>>
>>>
>>>
>>> --
>>> Akila Ravihansa Perera
>>> WSO2 Inc.;  http://wso2.com/
>>>
>>> Blog: http://ravihansa3000.blogspot.com
>>>
>>
>>
>
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>

Reply via email to