Hi Issue occurred when i try to execute the $Subject. Stack trace as follows
[2013-12-19 10:18:30,841] DEBUG - DynamicLoadbalanceEndpoint Couldn't find the Cookie header to find the session [2013-12-19 10:18:30,841] ERROR - Axis2LoadBalanceMembershipHandler A LoadBalanceEventHandler has not been specified in the axis2.xml file for the domain apache.axis2.application.domain [2013-12-19 10:18:30,842] WARN - SynapseMessageReceiver Executing fault handler due to exception encountered [2013-12-19 10:18:30,851] WARN - FaultHandler ERROR_CODE : 0 [2013-12-19 10:18:30,851] WARN - FaultHandler ERROR_MESSAGE : A LoadBalanceEventHandler has not been specified in the axis2.xml file for the domain apache.axis2.application.domain [2013-12-19 10:18:30,851] WARN - FaultHandler ERROR_DETAIL : org.apache.synapse.SynapseException: A LoadBalanceEventHandler has not been specified in the axis2.xml file for the domain apache.axis2.application.domain at org.apache.synapse.core.axis2.Axis2LoadBalanceMembershipHandler.setConfigurationContext(Axis2LoadBalanceMembershipHandler.java:77) at org.apache.synapse.endpoints.DynamicLoadbalanceEndpoint.send(DynamicLoadbalanceEndpoint.java:115) 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.processEntityEnclosingRequest(ServerWorker.java:403) at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183) 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) [2013-12-19 10:18:30,851] WARN - FaultHandler ERROR_EXCEPTION : org.apache.synapse.SynapseException: A LoadBalanceEventHandler has not been specified in the axis2.xml file for the domain apache.axis2.application.domain [2013-12-19 10:18:30,852] WARN - FaultHandler FaultHandler : org.apache.synapse.mediators.MediatorFaultHandler@71daa121 [2013-12-19 10:18:30,852] WARN - MediatorFaultHandler Executing fault handler mediator : errorHandler [2013-12-19 10:18:30,852] DEBUG - SequenceMediator Start : Sequence <errorHandler> [2013-12-19 10:18:30,852] DEBUG - SequenceMediator Sequence <SequenceMediator> :: mediate() [2013-12-19 10:18:30,852] DEBUG - SequenceMediator Mediation started from mediator position : 0 [2013-12-19 10:18:30,865] DEBUG - FaultMediator Start : Fault mediator [2013-12-19 10:18:30,865] DEBUG - FaultMediator Creating a SOAP 1.1 fault [2013-12-19 10:18:30,869] DEBUG - FaultMediator End : Fault mediator [2013-12-19 10:18:30,870] DEBUG - SendMediator Start : Send mediator [2013-12-19 10:18:30,870] DEBUG - SendMediator Sending response message using implicit message properties.. Sending To: http://www.w3.org/2005/08/addressing/anonymous SOAPAction: urn:sampleOperation [2013-12-19 10:18:30,878] DEBUG - SendMediator End : Send mediator [2013-12-19 10:18:30,878] DEBUG - SequenceMediator End : Sequence <errorHandler> Synapse Configuration file <definitions xmlns="http://ws.apache.org/ns/synapse"> <sequence name="main" onError="errorHandler"> <in> <send> <endpoint name="dynamicLB"> <dynamicLoadbalance failover="true" algorithm="org.apache.synapse.endpoints.algorithms.RoundRobin"> <membershipHandler class="org.apache.synapse.core.axis2.Axis2LoadBalanceMembershipHandler"> <property name="applicationDomain" value="apache.axis2.application.domain"/> </membershipHandler> </dynamicLoadbalance> </endpoint> </send> <drop/> </in> <out> <send/> </out> </sequence> <sequence name="errorHandler"> <makefault response="true"> <code value="tns:Receiver" xmlns:tns=" http://www.w3.org/2003/05/soap-envelope"/> <reason value="COULDN'T SEND THE MESSAGE TO THE SERVER."/> </makefault> <send/> </sequence> </definitions> Please look in to this issue. Thank you [1] http://docs.wso2.org/display/ESB480/Sample+57%3A+Dynamic+load+balancing+between+3+nodes -- *Pubudu Dissanayake* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware Mobile: 0775503304
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev