In fact, I could not even add the node in the sample.
I delete a node for example NodeB, and then re-add it.
I got the same error as I was trying to add my remote node.
And I examined the cloud.composite in the root directory of
the domain manager. It turns out that the entry for NodeB has
some problems in xmlns:ns2. It is xmlns:ns2="http://tuscany.apache.org/cloud
",
which should be xmlns:ns2="http://sample/cloud";.
So I think there maybe a bug in the "Add a node" page of domain manager
if I was right.

On Wed, Aug 10, 2011 at 7:46 PM, Simon Laws <simonsl...@googlemail.com>wrote:

> On Wed, Aug 10, 2011 at 11:01 AM, 吴天龙 <roc...@gmail.com> wrote:
> > Hello guys,
> > I am new to tuscany and I am recently working through the user guide of
> > tuscany java 1.6.2.
> > And I am stuck when I am trying to create a distributed application, in
> > which I want to deploy multiple nodes.
> > I read the article which teaching you how to use the Tuscany web-based
> > domain manager UI to administer an SCA domain.
> > But it also concerns about the local nodes. However I want to deploy some
> > remote nodes, which are in a LAN.
> > My question is: how is it possible for the Domain Manager to connect to
> the
> > remote node if the remote computer isn't providing any service to it?
> > Is there some program that comes with the tuscany runtime to run before
> the
> > manager can connect to node?
> > I googled but I get noting about this issue.
> > Thank you.
> >
> > --
> > *****************************************************
> > Tianlong Wu
> >
> > Computer Science and Technology Dept.
> > Harbin Institute of Technology
> > NO.92 Xidazhi Street,150001
> > Harbin, Heilongjiang Province, P.R.China
> >
>
> Hi
>
> IIRC when you have a domain containing remote nodes you have to start
> all the nodes manually. You start then with the URL that describes the
> node configuration at the domain managers and they will read their
> configuration from that URL and start. For example, if you look at the
> distributed calculator example [1] then you can see that it doesn't
> use the domain manager GUI but does use the domain manager
> configuration to allow remote nodes to take part in a distributed
> domain.
>
> [1]
> http://svn.apache.org/repos/asf/tuscany/sca-java-1.x/trunk/samples/calculator-distributed/
>
> Hope that helps
>
> Simon
>
> --
> Apache Tuscany committer: tuscany.apache.org
> Co-author of a book about Tuscany and SCA: tuscanyinaction.com
>



-- 
*****************************************************
Tianlong Wu

Computer Science and Technology Dept.
Harbin Institute of Technology
NO.92 Xidazhi Street,150001
Harbin, Heilongjiang Province, P.R.China

Reply via email to