stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Imesh Gunaratne (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (STRATOS-409) Cluster ID Not Found in Message Context when Member is Fetched from Session
Date Wed, 05 Feb 2014 18:12:10 GMT

     [ https://issues.apache.org/jira/browse/STRATOS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Imesh Gunaratne resolved STRATOS-409.
-------------------------------------

    Resolution: Fixed

> Cluster ID Not Found in Message Context when Member is Fetched from Session
> ---------------------------------------------------------------------------
>
>                 Key: STRATOS-409
>                 URL: https://issues.apache.org/jira/browse/STRATOS-409
>             Project: Stratos
>          Issue Type: Bug
>          Components: Load Balancer
>    Affects Versions: 4.0.0 M7
>            Reporter: Imesh Gunaratne
>            Assignee: Imesh Gunaratne
>
> It seems like there is an issue in statistics reporting functionality where it looks
for the Cluster ID in Synapse Message Context. 
> The problem is that when a member is fetched from an existing session the Cluster ID
property is not set in Message Context. As a result statistics reporting functionality fails
with following error:
> [2014-02-05 12:38:28,227] DEBUG - TenantAwareLoadBalanceEndpoint Could not increment
in-flight request count
> java.lang.RuntimeException: Cluster id not found in message context
> 	at org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint.incrementInFlightRequestCount(TenantAwareLoadBalanceEndpoint.java:557)
> 	at org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint.sendToApplicationMember(TenantAwareLoadBalanceEndpoint.java:542)
> 	at org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint.send(TenantAwareLoadBalanceEndpoint.java:120)
> 	at org.apache.synapse.endpoints.ClassEndpoint.send(ClassEndpoint.java:87)
> 	at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97)
> 	at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
> 	at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
> 	at org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:61)
> 	at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
> 	at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
> 	at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
> 	at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:228)
> 	at org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
> 	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
> 	at org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:336)
> 	at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:168)
> 	at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> 	at java.lang.Thread.run(Thread.java:662)
> [2014-02-05 12:38:28,283] DEBUG - ResponseInterceptor Response interceptor mediation
started
> [2014-02-05 12:38:28,283] DEBUG - ResponseInterceptor Could not decrement in-flight request
count : cluster id not found in message context



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message