On Tue, May 26, 2009 at 5:00 PM, Krzysztof Kot <[email protected]> wrote:
> Hi,
>
> I want to run distributed calculator on multiple hosts. [1] is
> discussion about it but there is no answer how to do this.
>
> It works for me when structure of folders on nodes are the same as in
> Domain Manager node, but I want make it more universal.
>
> I also have to change configuration in resources/cload/NodeA.composite
> (and NodeB, NodeC) from:
> <binding.sca uri="http://localhost:8100"/>
> to
> <binding.sca uri="http://myhostname:8100"/>
> It is OK for me but I'm not sure if it should be necessary because
> Domain Manager can take care of it.
>
> Please write how to avoid changing structure of folders or which other
> samples can help me to this.
>
> [1] http://www.mail-archive.com/[email protected]/msg00226.html
>
> Krzysztof Kot
>

Hi Krzysztof

A couple of points here.

To run distributed composite applications the use of the domain
manager is not mandatory. Tuscany has been written so that you can go
in and configure each composite to run on a separate machine and then
run them manually. What you then get is several separate domains
talking to each other.

To make the distributed calculator sample run within a single domain
but across machines we need to package up the contributions as jars so
that they can be distributed by the domain manager. At the moment they
are just directories and the domain manager doesn't know how to
distribute them. Most of the samples involve a single contribution but
they do result in a jar so provide examples of how to use maven to
package a contribution as a jar.

I was going to look at this problem in the travel same that some of us
are working on so I'll post a like to that when I'm done with this
aspect of it.

Regards

Simon

Reply via email to