synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiranya Jayathilaka" <hiranya...@gmail.com>
Subject Problem Running Sample 57 (Dynamic Load Balance)
Date Thu, 13 Nov 2008 10:31:27 GMT
Hi Folks,

When trying out the sample 57 (dynamic load balance scenario) on a latest
snapshot build I got the following error on an Axis2 node instance.

org.apache.axis2.AxisFault: The service cannot be found for the endpoint
reference (EPR) http://10.8.108.114:9001
        at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:65)
        at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:248)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:157)
        at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167)
        at
org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:278)
        at
org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:187)
        at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58)
        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)
2008-11-13 15:35:17,242 [-] [HttpServerWorker-1] ERROR ServerWorker Error
processing POST request
org.apache.axis2.AxisFault: The service cannot be found for the endpoint
reference (EPR) http://10.8.108.114:9001
        at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:65)
        at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:248)
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:157)
        at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:167)
        at
org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:278)
        at
org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:187)
        at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:58)
        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)

I ran a few debug sessions and found that the DynamicLoadbalanceEndpoint
actually performs the URL rewrite accurately and forwards the message to one
of the Axis2 node instances in the cluster. But the node instance cannot
deal with the incoming request. The LoadBalanceFailOver service is properly
deployed on the Axis2 instance too.

Some feedback on this issue will be highly appreciated.

Thanks

Best Regards,
Hiranya

Mime
View raw message