1 Reply Latest reply on Dec 11, 2014 2:05 PM by abhishekkoneru6790

    Error while trying to run FabricLoadBalanceFeature Client program

    abhishekkoneru6790

      We have successfully deployed a SOAP service with fabricLoadBalancingFeatures Enabled.

      But when we try to run a client program, We have the below exception.

      Some googling says this has been fixed in Jboss Fuse 6.2(

      1. ENTESB-1917

      )

      Are there any changes that we can do to test our service with "fabricPath=demo/cxf"?

       

      If not, when is fuse 6.2 release expected??

      Response is most appreciated.

       

      Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: The AlternateAddressList is empty, please fresh the list shortly.

        at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:157)

        at com.sun.proxy.$Proxy40.sayHello(Unknown Source)

        at com.abi.camel.java.Client.main(Client.java:58)

      Caused by: java.lang.IllegalArgumentException: The AlternateAddressList is empty, please fresh the list shortly.

        at io.fabric8.cxf.RandomLoadBalanceStrategy.getNextAlternateAddress(RandomLoadBalanceStrategy.java:32)

        at io.fabric8.cxf.LoadBalanceTargetSelector.getNextConduit(LoadBalanceTargetSelector.java:93)

        at io.fabric8.cxf.LoadBalanceTargetSelector.getSelectedConduit(LoadBalanceTargetSelector.java:74)

        at io.fabric8.cxf.LoadBalanceTargetSelector.prepare(LoadBalanceTargetSelector.java:59)

        at org.apache.cxf.endpoint.ClientImpl.prepareConduitSelector(ClientImpl.java:886)

        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:560)

        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:474)

        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:377)

        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:330)

        at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)

        at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)

        ... 2 more

        • 1. Re: Error while trying to run FabricLoadBalanceFeature Client program
          abhishekkoneru6790

          I changed the dependency to 1.1.0.Beta6 and i have this now,

           

           

           

          [                          main] PhaseInterceptorChain          WARN  Interceptor for {http://java.camel.abi.com/}xxxxxService#{http://java.camel.abi.com/}xxxxxx has thrown exception, unwinding now

          java.lang.IllegalArgumentException: URI is not absolute

            at java.net.URI.toURL(URI.java:1079)

            at org.apache.cxf.transport.http.URLConnectionHTTPConduit.createConnection(URLConnectionHTTPConduit.java:92)

            at org.apache.cxf.transport.http.URLConnectionHTTPConduit.setupConnection(URLConnectionHTTPConduit.java:103)

            at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:477)

            at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)

            at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)

            at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:570)

            at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:479)

            at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382)

            at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335)

            at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)

            at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)

            at com.sun.proxy.$Proxy43.sayHello(Unknown Source)

            at com.abi.camel.java.Client.main(Client.java:69)

          Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: URI is not absolute

            at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:157)

            at com.sun.proxy.$Proxy43.sayHello(Unknown Source)

            at com.abi.camel.java.Client.main(Client.java:69)

          Caused by: java.lang.IllegalArgumentException: URI is not absolute

            at java.net.URI.toURL(URI.java:1079)

            at org.apache.cxf.transport.http.URLConnectionHTTPConduit.createConnection(URLConnectionHTTPConduit.java:92)

            at org.apache.cxf.transport.http.URLConnectionHTTPConduit.setupConnection(URLConnectionHTTPConduit.java:103)

            at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:477)

            at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)

            at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)

            at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:570)

            at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:479)

            at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382)

            at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335)

            at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)

            at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135)

            ... 2 more