[esb-java-dev] [jira] Commented: (ESBJAVA-390) Session affinity load balancing between fail over endpoints does not function if WSDL endpoints are used

Upul Godage (JIRA) jira at wso2.org
Wed Dec 5 22:28:03 PST 2007


    [ http://wso2.org/jira/browse/ESBJAVA-390?page=comments#action_13882 ] 
            
Upul Godage commented on ESBJAVA-390:
-------------------------------------

ant loadbalancefailover sends messages accepted by LBService1 service.  Simple stock quote service will not recognize those messages. So quote service did not recognize sampleOperation action.

You can use LBService1 wsdl endpoints.

                              <endpoint>
                                <wsdl uri="http://10.100.1.86:9003/soap/LBService1?wsdl" service="LBService1" port="LBService1SOAP11port_http1">              
                                  <enableAddressing/>
                                </wsdl>
                              </endpoint>

> Session affinity load balancing between fail over endpoints does not function if WSDL endpoints are used
> --------------------------------------------------------------------------------------------------------
>
>                 Key: ESBJAVA-390
>                 URL: http://wso2.org/jira/browse/ESBJAVA-390
>             Project: WSO2 ESB
>          Issue Type: Bug
>          Components: Endpoints Management
>    Affects Versions: NIGHTLY
>         Environment: Ubuntu7.04, Firefox2.0.0.9, JDK1.5.0_12
>            Reporter: Evanthika Amarasiri
>         Assigned To: Upul Godage
>
> Below is the configuration which I tried out
>     <syn:sequence name="sample_55" onError="sample_55_fault">
>         <syn:in>
>             <syn:send>
>                 <syn:endpoint>
>                     <syn:session type="simpleClientSession"/>
>                     <syn:loadbalance algorithm="roundRobin">
>                         <syn:endpoint>
>                             <syn:failover>
>                                 <syn:endpoint>
>                                     <syn:wsdl service="SimpleStockQuoteService" port="SimpleStockQuoteServiceSOAP11port_http1" uri="http://10.100.1.86:9000/soap/SimpleStockQuoteService?wsdl" format="soap11">
>                                         <syn:enableAddressing/>
>                                     </syn:wsdl>
>                                 </syn:endpoint>
>                                 <syn:endpoint>
>                                     <syn:wsdl service="SimpleStockQuoteService" port="SimpleStockQuoteServiceSOAP11port_http1" uri="http://10.100.1.86:9002/soap/SimpleStockQuoteService?wsdl" format="soap11">
>                                         <syn:enableAddressing/>
>                                     </syn:wsdl>
>                                 </syn:endpoint>
>                             </syn:failover>
>                         </syn:endpoint>
>                         <syn:endpoint>
>                             <syn:failover>
>                                 <syn:endpoint>
>                                     <syn:wsdl service="SimpleStockQuoteService" port="SimpleStockQuoteServiceSOAP11port_http1" uri="http://10.100.1.86:9003/soap/SimpleStockQuoteService?wsdl" format="soap11">
>                                         <syn:enableAddressing/>
>                                     </syn:wsdl>
>                                 </syn:endpoint>
>                                 <syn:endpoint>
>                                     <syn:wsdl service="SimpleStockQuoteService" port="SimpleStockQuoteServiceSOAP11port_http1" uri="http://10.100.1.86:9004/soap/SimpleStockQuoteService?wsdl" format="soap11">
>                                         <syn:enableAddressing/>
>                                     </syn:wsdl>
>                                 </syn:endpoint>
>                             </syn:failover>
>                         </syn:endpoint>
>                     </syn:loadbalance>
>                 </syn:endpoint>
>             </syn:send>
>             <syn:log level="full" separator=","/>
>         </syn:in>
>         <syn:out>
>             <syn:send/>
>         </syn:out>
>     </syn:sequence>
> When a request is sent from the client, you get the error message 
> *************************************************
> loadbalancefailover:
>      [java] The server did not recognise the action which it received.
> *************************************************
> On the server side you get the error message
> org.apache.axis2.AxisFault: The [action] cannot be processed at the receiver.
>         at org.apache.axis2.addressing.AddressingFaultsHelper.triggerAddressingFault(AddressingFaultsHelper.java:355)
>         at org.apache.axis2.addressing.AddressingFaultsHelper.triggerActionNotSupportedFault(AddressingFaultsHelper.java:320)
>         at org.apache.axis2.handlers.addressing.AddressingValidationHandler.checkAction(AddressingValidationHandler.java:140)
>         at org.apache.axis2.handlers.addressing.AddressingValidationHandler.invoke(AddressingValidationHandler.java:53)
>         at org.apache.axis2.engine.Phase.invoke(Phase.java:292)
>         at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>         at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:219)
>         at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:183)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Esb-java-dev mailing list