[ http://wso2.org/jira/browse/ESBJAVA-354?page=all ]

Evanthika Amarasiri closed ESBJAVA-354.
---------------------------------------

    Assignee:     (was: indika kumara)

Fixed in 1.6-QA-B1. The NPE does not occur when the client is executed. The 
issue will be closed

> When the option -Dmode=session is given to invoke a configuration with a 
> Proxy Service which has load balanced endpoints, a NullpointerException is 
> thrown on the client side
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ESBJAVA-354
>                 URL: http://wso2.org/jira/browse/ESBJAVA-354
>             Project: WSO2 ESB
>          Issue Type: Bug
>          Components: Proxy Services Management
>    Affects Versions: 1.5-beta-1
>         Environment: Ubuntu7.04, Firefox2.0.0.9, JDK1.5.0_12
>            Reporter: Evanthika Amarasiri
>            Priority: Minor
>             Fix For: NIGHTLY
>
>
> Below is the configuration which was created
>    <syn:proxy name="StockQuoteProxy_54" transports="https http" 
> startOnLoad="true">
>         <syn:target faultSequence="myFaultHandler">
>             <syn:inSequence>
>                 <syn:send>
>                     <syn:endpoint>
>                         <syn:session type="simpleClientSession"/>
>                         <syn:loadbalance algorithm="roundRobin">
>                             <syn:endpoint>
>                                 <syn:address 
> uri="http://localhost:9001/soap/LBService1";>
>                                     <syn:enableAddressing/>
>                                     
> <syn:suspendDurationOnFailure>20</syn:suspendDurationOnFailure>
>                                 </syn:address>
>                             </syn:endpoint>
>                             <syn:endpoint>
>                                 <syn:address 
> uri="http://localhost:9002/soap/LBService1";>
>                                     <syn:enableAddressing/>
>                                     
> <syn:suspendDurationOnFailure>20</syn:suspendDurationOnFailure>
>                                 </syn:address>
>                             </syn:endpoint>
>                             <syn:endpoint>
>                                 <syn:address 
> uri="http://localhost:9003/soap/LBService1";>
>                                     <syn:enableAddressing/>
>                                     
> <syn:suspendDurationOnFailure>20</syn:suspendDurationOnFailure>
>                                 </syn:address>
>                             </syn:endpoint>
>                         </syn:loadbalance>
>                     </syn:endpoint>
>                 </syn:send>
>             </syn:inSequence>
>             <syn:outSequence>
>                 <syn:send/>
>             </syn:outSequence>
>         </syn:target>
>         <syn:publishWSDL 
> uri="file:repository/conf/sample/resources/proxy/sample_proxy_1.wsdl"/>
>     </syn:proxy>
> Tried to invoke the service using the following command
> ====================================
> ant loadbalancefailover -Dmode=session 
> -Dtrpurl=http://localhost:8080/soap/StockQuoteProxy_54
> Received the following exception on the client side
> ================================
> Buildfile: build.xml
> init:
> compile:
> loadbalancefailover:
>      [java] Exception in thread "main" java.lang.NullPointerException
>      [java]     at 
> samples.userguide.LoadbalanceFailoverClient.sessionfullClient(Unknown Source)
>      [java]     at samples.userguide.LoadbalanceFailoverClient.main(Unknown 
> Source)
>      [java] Java Result: 1

-- 
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

        

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to