Hi,
I fixed the issue under http://svn.apache.org/viewvc?rev=887470&view=rev.
I also have some local changes that enable the build.xml to run two nodes
with different JVMs over tribes based multicast. Do you know if the build
machine supports multicast? If so, I can commit the changes.
Index: build.xml
===================================================================
--- build.xml (revision 887378)
+++ build.xml (working copy)
@@ -27,7 +27,7 @@
</daemons>
<sequential>
- <sleep seconds="4"/>
+ <sleep seconds="5"/>
<ant antfile="client.xml"/>
</sequential>
Index: client-config.xml
===================================================================
--- client-config.xml (revision 887378)
+++ client-config.xml (working copy)
@@ -21,6 +21,7 @@
xmlns="http://tuscany.apache.org/xmlns/sca/1.1"
xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
uri="http://sample/nodes/TestNode1"
+ domainRegistry = "tribes://228.0.0.100:50000"
domain="http://domain1">
<!-- Configure the base URIs for a given binding -->
Index: pom.xml
===================================================================
--- pom.xml (revision 887378)
+++ pom.xml (working copy)
@@ -66,7 +66,7 @@
</dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-binding-sca-axis2-runtime</artifactId>
+ <artifactId>tuscany-binding-sca-runtime-rmi</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
<dependency>
Index: server-config.xml
===================================================================
--- server-config.xml (revision 887378)
+++ server-config.xml (working copy)
@@ -21,6 +21,7 @@
xmlns="http://tuscany.apache.org/xmlns/sca/1.1"
xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
uri="http://sample/nodes/TestNode1"
+ domainRegistry = "tribes://228.0.0.100:50000"
domain="http://domain1">
<!-- Configure the base URIs for a given binding -->
Thanks,
Raymond
--------------------------------------------------
From: "Raymond Feng" <[email protected]>
Sent: Friday, December 04, 2009 2:57 PM
To: <[email protected]>
Subject: Re: Problems with distributed endpoints
I found the issue in EndpointSerializeeImpl which falsely resets the
remote flag on the Endpoint. I'll check in the fix after a build.
There is a broader issue behind this though. We need to flush out what
information should be serialized with Endpoint/EndpointReference and how
to rebuild them in the context of the client use. It includes the remote
interfaces, implementation, and policies. I'll start another thread with
more detail explanations of the problem.
Thanks,
Raymond
--------------------------------------------------
From: "Simon Laws" <[email protected]>
Sent: Friday, December 04, 2009 3:23 AM
To: <[email protected]>; <[email protected]>
Subject: Re: Problems with distributed endpoints
I now see...
[java] Caused by: org.oasisopen.sca.SCARuntimeException: Unable to
bind (@2
9263633)EndpointReference: URI = HelloworldClient#reference(service)
WIRED_TARG
ET_NOT_FOUND Target = (@26578114)Endpoint: URI = HelloworldService
[Unresolved
]
So I can reproduce it.
Simon