Re: Problem with CXF Failover -> Already connected error

2010-03-17 Thread rdomingo
I suspected the solution to my problem should be really easy, and you just confirmed this. It is working now, THANK YOU !!! java.lang.Exception After I debugged the problem, it seemed failover was kicking in. So I never considered adding other exceptions to failover After reading your pos

Re: Problem with CXF Failover -> Already connected error

2010-03-16 Thread Willem Jiang
I think the failover route could work when the first service is not started. Can you give it a try ? But your test case is special, the exception is thrown when the cxf client try to write a message to a closed connection (a tcp dump could show more detail information). So I think you may also a

Re: Problem with CXF Failover -> Already connected error

2010-03-16 Thread rdomingo
I don't understand...do you thinkt it might go wrong on tcp level ? After debugging I found out it tries to failover to the second service, but during this attempt the Exception is thrown in the class HttpURLConnection: public void setFixedLengthStreamingMode (int contentLength) { if (c

Re: Problem with CXF Failover -> Already connected error

2010-03-16 Thread Willem Jiang
I did some search on the CXF user list, but didn't find some useful information. Can you set up a tcpdump to catch the message to see what happened. Willem rdomingo wrote: Hi Willem, Thank you for responding. I moved the first service to a second tomcat on different port, but still get same

Re: Problem with CXF Failover -> Already connected error

2010-03-16 Thread rdomingo
Hi Willem, Thank you for responding. I moved the first service to a second tomcat on different port, but still get same Exceptions :( My new route: http://0.0.0.0:8081/fooServer/echo?wsdlURL=http://localhost:8082/fooServer1-0.0.1b-SNAPSHOT/echo?wsdl&serviceName={http://www.

Re: Problem with CXF Failover -> Already connected error

2010-03-15 Thread Willem Jiang
Can you try to run the back end service in other box or in different port? It looks like some underlay HTTP communication error happened when you undeployed the first service. Willem rdomingo wrote: I need to implement failover for my webservices, but I can't get it working. I'm struggeling w

Problem with CXF Failover -> Already connected error

2010-03-15 Thread rdomingo
I need to implement failover for my webservices, but I can't get it working. I'm struggeling with this for some time and it really is getting a problem. I keep getting error below when it needs to failover: ... org.apache.cxf.interceptor.Fault: Already connected at org.apache.camel.compone