Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B46891002F for ; Thu, 27 Feb 2014 07:04:43 +0000 (UTC) Received: (qmail 54406 invoked by uid 500); 27 Feb 2014 07:04:43 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 54373 invoked by uid 500); 27 Feb 2014 07:04:42 -0000 Mailing-List: contact dev-help@stratos.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.incubator.apache.org Delivered-To: mailing list dev@stratos.incubator.apache.org Received: (qmail 54366 invoked by uid 99); 27 Feb 2014 07:04:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Feb 2014 07:04:41 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,RP_MATCHES_RCVD,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 27 Feb 2014 07:04:39 +0000 Received: (qmail 53576 invoked by uid 99); 27 Feb 2014 07:04:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Feb 2014 07:04:19 +0000 Date: Thu, 27 Feb 2014 07:04:19 +0000 (UTC) From: "Imesh Gunaratne (JIRA)" To: dev@stratos.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (STRATOS-481) class endpoint Exception after a load test MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STRATOS-481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne resolved STRATOS-481. ------------------------------------- Resolution: Fixed Removed local reference to cache manager in LoadBalancerCache. Changes committed with commit revision 53f1fc8bfb8eb417bd6f53d1b0d9bd435a60ac44. > class endpoint Exception after a load test > ------------------------------------------ > > Key: STRATOS-481 > URL: https://issues.apache.org/jira/browse/STRATOS-481 > Project: Stratos > Issue Type: Bug > Components: Load Balancer > Affects Versions: 4.0.0 Alpha > Reporter: Udara Liyanage > Assignee: Imesh Gunaratne > > [2014-02-25 21:50:01,065] DEBUG - LoadBalancerStatisticsNotifier In-flight request count published to cep: [cluster-id] pak.php.domain [network-partition] ec2 [value] 0 > [2014-02-25 21:50:16,065] DEBUG - LoadBalancerStatisticsNotifier Publishing load balancer statistics > [2014-02-25 21:50:16,066] DEBUG - LoadBalancerStatisticsNotifier In-flight request count published to cep: [cluster-id] pak.php.domain [network-partition] ec2 [value] 0 > [2014-02-25 21:50:31,066] DEBUG - LoadBalancerStatisticsNotifier Publishing load balancer statistics > [2014-02-25 21:50:31,066] DEBUG - LoadBalancerStatisticsNotifier In-flight request count published to cep: [cluster-id] pak.php.domain [network-partition] ec2 [value] 0 > [2014-02-25 21:50:46,066] DEBUG - LoadBalancerStatisticsNotifier Publishing load balancer statistics > [2014-02-25 21:50:46,067] DEBUG - LoadBalancerStatisticsNotifier In-flight request count published to cep: [cluster-id] pak.php.domain [network-partition] ec2 [value] 0 > [2014-02-25 21:51:01,067] DEBUG - LoadBalancerStatisticsNotifier Publishing load balancer statistics > [2014-02-25 21:51:01,067] DEBUG - LoadBalancerStatisticsNotifier In-flight request count published to cep: [cluster-id] pak.php.domain [network-partition] ec2 [value] 0 > [2014-02-25 21:51:16,067] DEBUG - LoadBalancerStatisticsNotifier Publishing load balancer statistics > [2014-02-25 21:51:16,067] DEBUG - LoadBalancerStatisticsNotifier In-flight request count published to cep: [cluster-id] pak.php.domain [network-partition] ec2 [value] 0 > [2014-02-25 21:51:31,068] DEBUG - LoadBalancerStatisticsNotifier Publishing load balancer statistics > [2014-02-25 21:51:31,068] DEBUG - LoadBalancerStatisticsNotifier In-flight request count published to cep: [cluster-id] pak.php.domain [network-partition] ec2 [value] 0 > [2014-02-25 21:51:46,068] DEBUG - LoadBalancerStatisticsNotifier Publishing load balancer statistics > [2014-02-25 21:51:46,068] DEBUG - LoadBalancerStatisticsNotifier In-flight request count published to cep: [cluster-id] pak.php.domain [network-partition] ec2 [value] 0 > [2014-02-25 21:52:01,069] DEBUG - LoadBalancerStatisticsNotifier Publishing load balancer statistics > [2014-02-25 21:52:01,069] DEBUG - LoadBalancerStatisticsNotifier In-flight request count published to cep: [cluster-id] pak.php.domain [network-partition] ec2 [value] 0 > [2014-02-25 21:52:16,069] DEBUG - LoadBalancerStatisticsNotifier Publishing load balancer statistics > [2014-02-25 21:52:16,069] DEBUG - LoadBalancerStatisticsNotifier In-flight request count published to cep: [cluster-id] pak.php.domain [network-partition] ec2 [value] 0 > [2014-02-25 21:52:31,070] DEBUG - LoadBalancerStatisticsNotifier Publishing load balancer statistics > [2014-02-25 21:52:31,070] DEBUG - LoadBalancerStatisticsNotifier In-flight request count published to cep: [cluster-id] pak.php.domain [network-partition] ec2 [value] 0 > [2014-02-25 21:52:38,239] DEBUG - SynapseMessageReceiver Synapse received a new message for message mediation... > [2014-02-25 21:52:38,239] DEBUG - SynapseMessageReceiver Received To: /www/test2.php > [2014-02-25 21:52:38,239] DEBUG - SynapseMessageReceiver SOAPAction: null > [2014-02-25 21:52:38,239] DEBUG - SynapseMessageReceiver WSA-Action: null > [2014-02-25 21:52:38,239] DEBUG - Axis2SynapseEnvironment Injecting MessageContext > [2014-02-25 21:52:38,239] DEBUG - Axis2SynapseEnvironment Using Main Sequence for injected message > [2014-02-25 21:52:38,239] DEBUG - SequenceMediator Start : Sequence
> [2014-02-25 21:52:38,239] DEBUG - SequenceMediator Setting the onError handler : fault for the sequence : main > [2014-02-25 21:52:38,239] DEBUG - SequenceMediator Sequence :: mediate() > [2014-02-25 21:52:38,239] DEBUG - SequenceMediator Mediation started from mediator position : 0 > [2014-02-25 21:52:38,239] DEBUG - InMediator Start : In mediator > [2014-02-25 21:52:38,239] DEBUG - InMediator Current message is incoming - executing child mediators > [2014-02-25 21:52:38,239] DEBUG - InMediator Sequence :: mediate() > [2014-02-25 21:52:38,239] DEBUG - InMediator Mediation started from mediator position : 0 > [2014-02-25 21:52:38,239] DEBUG - PropertyMediator Start : Property mediator > [2014-02-25 21:52:38,239] DEBUG - PropertyMediator Setting property : SERVICE_PREFIX at scope : default to : http://10.142.214.25:8280/ (i.e. result of expression : $axis2:SERVICE_PREFIX) > [2014-02-25 21:52:38,239] DEBUG - PropertyMediator End : Property mediator > [2014-02-25 21:52:38,239] DEBUG - SendMediator Start : Send mediator > [2014-02-25 21:52:38,239] DEBUG - ClassEndpoint Start sending message > [2014-02-25 21:52:38,239] DEBUG - HttpSessionDispatcher Extracted Host Name : pak.isuruh.lk > [2014-02-25 21:52:38,239] DEBUG - HttpSessionDispatcher Endpoint Address : /www/test2.php > [2014-02-25 21:52:38,239] DEBUG - HttpSessionDispatcher Content Type : null > [2014-02-25 21:52:38,239] DEBUG - HttpSessionDispatcher A request received with the Host Name : pak.isuruh.lk:8280 > [2014-02-25 21:52:38,240] DEBUG - HttpSessionDispatcher Couldn't find the Cookie header to find the session > [2014-02-25 21:52:38,240] DEBUG - HttpSessionDispatcher Did not find a session info obj. > [2014-02-25 21:52:38,240] DEBUG - TenantAwareLoadBalanceEndpoint Multi-tenancy enabled, scanning URL for tenant... > [2014-02-25 21:52:38,240] DEBUG - TenantAwareLoadBalanceEndpoint Request URL: /www/test2.php > [2014-02-25 21:52:38,240] DEBUG - TenantAwareLoadBalanceEndpoint Tenant identifier regex: t/([^/]*)/ > [2014-02-25 21:52:38,240] DEBUG - TenantAwareLoadBalanceEndpoint Tenant identifier not found in URL > [2014-02-25 21:52:38,240] WARN - SynapseMessageReceiver Executing fault handler due to exception encountered > [2014-02-25 21:52:38,242] WARN - FaultHandler ERROR_CODE : 0 > [2014-02-25 21:52:38,242] WARN - FaultHandler ERROR_MESSAGE : Error occured when execute the class endpoint > [2014-02-25 21:52:38,242] WARN - FaultHandler ERROR_DETAIL : org.apache.synapse.SynapseException: Error occured when execute the class endpoint > at org.apache.synapse.endpoints.ClassEndpoint.send(ClassEndpoint.java:89) > 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.runWorker(ThreadPoolExecutor.java:1110) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:722) > Caused by: java.lang.NullPointerException > at org.apache.stratos.load.balancer.cache.LoadBalancerCache.getInteger(LoadBalancerCache.java:121) > at org.apache.stratos.load.balancer.cache.AlgorithmContextCache.getCurrentMemberIndex(AlgorithmContextCache.java:43) > at org.apache.stratos.load.balancer.algorithm.AlgorithmContext.getCurrentMemberIndex(AlgorithmContext.java:47) > at org.apache.stratos.load.balancer.algorithm.RoundRobin.getNextMember(RoundRobin.java:53) > at org.apache.stratos.load.balancer.RequestDelegator.findNextMemberInCluster(RequestDelegator.java:99) > at org.apache.stratos.load.balancer.RequestDelegator.findNextMemberFromHostName(RequestDelegator.java:54) > at org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint.findNextMember(TenantAwareLoadBalanceEndpoint.java:216) > at org.apache.stratos.load.balancer.endpoint.TenantAwareLoadBalanceEndpoint.send(TenantAwareLoadBalanceEndpoint.java:124) > at org.apache.synapse.endpoints.ClassEndpoint.send(ClassEndpoint.java:87) > ... 16 more > [2014-02-25 21:52:38,242] WARN - FaultHandler ERROR_EXCEPTION : org.apache.synapse.SynapseException: Error occured when execute the class endpoint > [2014-02-25 21:52:38,242] WARN - FaultHandler FaultHandler : org.apache.synapse.mediators.MediatorFaultHandler@59f91f38 > [2014-02-25 21:52:38,242] WARN - MediatorFaultHandler Executing fault handler mediator : fault > [2014-02-25 21:52:38,242] DEBUG - SequenceMediator Start : Sequence > [2014-02-25 21:52:38,242] DEBUG - SequenceMediator Sequence :: mediate() > [2014-02-25 21:52:38,242] DEBUG - SequenceMediator Mediation started from mediator position : 0 > [2014-02-25 21:52:38,242] DEBUG - ScriptMediator Start : Script mediator > [2014-02-25 21:52:38,242] DEBUG - ScriptMediator Scripting language : js source : specified inline function : mediate > [2014-02-25 21:52:38,246] DEBUG - ScriptMediator End : Script mediator return value : true > [2014-02-25 21:52:38,246] DEBUG - SwitchMediator Start : Switch mediator > [2014-02-25 21:52:38,246] DEBUG - SwitchMediator XPath : get-property('ERROR_CODE') evaluates to : 0 > [2014-02-25 21:52:38,247] DEBUG - SwitchMediator None of the switch cases matched - executing default > [2014-02-25 21:52:38,247] DEBUG - AnonymousListMediator Sequence :: mediate() > [2014-02-25 21:52:38,247] DEBUG - AnonymousListMediator Mediation started from mediator position : 0 > [2014-02-25 21:52:38,247] DEBUG - PropertyMediator Start : Property mediator > [2014-02-25 21:52:38,247] DEBUG - PropertyMediator Setting property : HTTP_SC at scope : axis2 to : 500 (i.e. constant : 500) > [2014-02-25 21:52:38,247] DEBUG - PropertyMediator End : Property mediator > [2014-02-25 21:52:38,247] DEBUG - PropertyMediator Start : Property mediator > [2014-02-25 21:52:38,247] DEBUG - PropertyMediator Removing property : NO_ENTITY_BODY (scope:axis2) > [2014-02-25 21:52:38,247] DEBUG - PropertyMediator End : Property mediator > [2014-02-25 21:52:38,248] DEBUG - HeaderMediator Start : Header mediator > [2014-02-25 21:52:38,248] DEBUG - HeaderMediator Removing SOAP Header : To > [2014-02-25 21:52:38,248] DEBUG - HeaderMediator End : Header mediator > [2014-02-25 21:52:38,248] DEBUG - PropertyMediator Start : Property mediator > [2014-02-25 21:52:38,248] DEBUG - PropertyMediator Setting property : RESPONSE at scope : default to : true (i.e. constant : true) > [2014-02-25 21:52:38,248] DEBUG - PropertyMediator End : Property mediator > [2014-02-25 21:52:38,248] DEBUG - PropertyMediator Start : Property mediator > [2014-02-25 21:52:38,248] DEBUG - PropertyMediator Setting property : messageType at scope : axis2 to : text/html (i.e. constant : text/html) > [2014-02-25 21:52:38,249] DEBUG - PropertyMediator End : Property mediator > [2014-02-25 21:52:38,249] DEBUG - PropertyMediator Start : Property mediator > [2014-02-25 21:52:38,249] DEBUG - PropertyMediator Setting property : contentType at scope : axis2 to : text/html (i.e. constant : text/html) > [2014-02-25 21:52:38,249] DEBUG - PropertyMediator End : Property mediator > [2014-02-25 21:52:38,249] DEBUG - SendMediator Start : Send mediator > [2014-02-25 21:52:38,249] DEBUG - SendMediator Sending response message using implicit message properties.. > Sending To: null > SOAPAction: null > [2014-02-25 21:52:38,250] DEBUG - SendMediator End : Send mediator > [2014-02-25 21:52:38,250] DEBUG - SequenceMediator End : Sequence > [2014-02-25 21:52:46,070] DEBUG - LoadBalancerStatisticsNotifier Publishing load balancer statistics > [2014-02-25 21:52:46,072] DEBUG - LoadBalancerStatisticsNotifier In-flight request count published to cep: [cluster-id] pak.php.domain [network-partition] ec2 [value] 0 > [2014-02-25 21:53:01,072] DEBUG - LoadBalancerStatisticsNotifier Publishing load balancer statistics > [2014-02-25 21:53:01,072] DEBUG - LoadBalancerStatisticsNotifier In-flight request count published to cep: [cluster-id] pak.php.domain [network-partition] ec2 [value] 0 -- This message was sent by Atlassian JIRA (v6.1.5#6160)