ConnectException during itest
Reported by Ben Hood | October 1st, 2010 @ 05:01 PM
This error is appearing during the itests:
[16:51:29]: Running itest.SameEnvironmentTest
[16:51:30]: 16:51:30.320 [qtp470033680-96] Configuration.scala:87 - Processing group declare/update request: g1
[16:51:30]: 16:51:30.433 [qtp470033680-98] Configuration.scala:27 - Processing endpoint declare/update request: abSame-us
[16:51:30]: 16:51:30.492 [qtp470033680-97] Configuration.scala:27 - Processing endpoint declare/update request: abSame-ds
[16:51:30]: 16:51:30.520 [qtp470033680-99] Configuration.scala:71 - Processing pair declare/update request: abSame
[16:51:30]: 16:51:30.611 [qtp470033680-99] DefaultSessionManager.scala:219 - Execute difference report for pair abSame
[16:51:30]: 16:51:30.795 [qtp470033680-99] DefaultSessionManager.scala:235 - Failed to execute differences for pair abSame
[16:51:30]: com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused
[16:51:30]: at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:131) [jersey-client-1.4-ea06.jar:1.4-ea06]
[16:51:30]: at com.sun.jersey.api.client.Client.handle(Client.java:572) [jersey-client-1.4-ea06.jar:1.4-ea06]
[16:51:30]: at com.sun.jersey.api.client.WebResource.handle(WebResource.java:559) [jersey-client-1.4-ea06.jar:1.4-ea06]
[16:51:30]: at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:72) [jersey-client-1.4-ea06.jar:1.4-ea06]
[16:51:30]: at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:502) [jersey-client-1.4-ea06.jar:1.4-ea06]
[16:51:30]: at net.lshift.fastdiff.messaging.json.AbstractRestClient.executeRpc(AbstractRestClient.scala:30) [fastdiff-json-messaging-0.1-SNAPSHOT.jar:na]
[16:51:30]: at net.lshift.fastdiff.messaging.json.ParticipantRestClient.queryDigests(ParticipantRestClient.scala:18) [fastdiff-json-messaging-0.1-SNAPSHOT.jar:na]
[16:51:30]: at net.lshift.fastdiff.messaging.json.ParticipantRestClient.queryDigests(ParticipantRestClient.scala:10) [fastdiff-json-messaging-0.1-SNAPSHOT.jar:na]
[16:51:30]: at net.lshift.fastdiff.kernel.differencing.BaseSynchingVersionPolicy$SyncStrategy.syncHalf(BaseSynchingVersionPolicy.scala:59) [fastdiff-kernel-0.1-SNAPSHOT.jar:na]
[16:51:30]: at net.lshift.fastdiff.kernel.differencing.SameVersionPolicy.synchroniseParticipants(SameVersionPolicy.scala:25) [fastdiff-kernel-0.1-SNAPSHOT.jar:na]
[16:51:30]: at net.lshift.fastdiff.kernel.differencing.BaseSynchingVersionPolicy.difference(BaseSynchingVersionPolicy.scala:35) [fastdiff-kernel-0.1-SNAPSHOT.jar:na]
[16:51:30]: at net.lshift.fastdiff.kernel.differencing.DefaultSessionManager$$anonfun$runDifferenceForScope$1.apply(DefaultSessionManager.scala:233) [fastdiff-kernel-0.1-SNAPSHOT.jar:na]
[16:51:30]: at net.lshift.fastdiff.kernel.differencing.DefaultSessionManager$$anonfun$runDifferenceForScope$1.apply(DefaultSessionManager.scala:217) [fastdiff-kernel-0.1-SNAPSHOT.jar:na]
Comments and changes to this ticket
-

-

Paul Jones October 15th, 2010 @ 09:15 AM
- State changed from new to closed
I've made the participants start before they are declared. This way, they will respond to the initial sync, and the exception isn't thrown.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A Real Time Differencing Tool.