Re: calculator-distributed on multiple hosts

2008-11-16 Thread fahim salim
Hello All I'm little bit confused by all the possible configurations that are possible with several nodes running in a domain. It's ok to have for example node B and C running on the same machine and NodeA running on another one. But is it possible to have the following configuration: CalculatorA

Re: calculator-distributed on multiple hosts

2008-10-30 Thread Rohan Sahgal
Hi Simon, I was looking deeper into this sample. The UI configuration seems to allow adding contributions to the domain. How can this feature be used, say I have to add another Node to this calculator sample, say a square root service, can I use this feature to do this? Can you explain the purpose

Re: calculator-distributed on multiple hosts

2008-10-29 Thread Simon Laws
Hi Rohan Sorry I'm rather late coming to this thread. Been away for a few days. Anyhow, some comments inline.. Regards Simon On Fri, Oct 24, 2008 at 6:28 PM, Rohan Sahgal <[EMAIL PROTECTED]> wrote: > For now, all I wanted to do, is rather than starting new > web-container's for every node, I w

Re: calculator-distributed on multiple hosts

2008-10-24 Thread Rohan Sahgal
For now, all I wanted to do, is rather than starting new web-container's for every node, I wanted to have the service's running in an existing container (on different machines). I already have certain webapps running on these machines and I dont want to start more than one web-container. However w

Re: calculator-distributed on multiple hosts

2008-10-24 Thread Luciano Resende
On Fri, Oct 24, 2008 at 10:43 AM, fahim salim <[EMAIL PROTECTED]> wrote: > Hello All > > One thing that would quite interesting is to have the possibility to deploy > one domain (NodeA) in a web container (host1) and to deploy another domain > (NodeB and NodeC) on another web container (host2) > D

Re: calculator-distributed on multiple hosts

2008-10-24 Thread fahim salim
Hello All One thing that would quite interesting is to have the possibility to deploy one domain (NodeA) in a web container (host1) and to deploy another domain (NodeB and NodeC) on another web container (host2) But I don't know if it's possible at the moment. Fahim 2008/10/24 ant elder <[EMAIL

Re: calculator-distributed on multiple hosts

2008-10-24 Thread ant elder
On Fri, Oct 24, 2008 at 12:45 AM, Rohan Sahgal <[EMAIL PROTECTED]>wrote: > Is it also possible to modify this sample to create WAR files so that > it can be run in any web container? > I see that now it starts a new Jetty container. > > I think that would be more helpful, since this way I can simp

Re: calculator-distributed on multiple hosts

2008-10-23 Thread Luciano Resende
Could you please elaborate more on your goals trying to make the sample a web app ? On Thu, Oct 23, 2008 at 4:45 PM, Rohan Sahgal <[EMAIL PROTECTED]> wrote: > Is it also possible to modify this sample to create WAR files so that > it can be run in any web container? > I see that now it starts a ne

Re: calculator-distributed on multiple hosts

2008-10-23 Thread Rohan Sahgal
Is it also possible to modify this sample to create WAR files so that it can be run in any web container? I see that now it starts a new Jetty container. I think that would be more helpful, since this way I can simply copy the webapp to different machines rather than the entire Tuscany distributio

Re: calculator-distributed on multiple hosts

2008-07-29 Thread Malte Marquarding
P, SVN commit, Maven deploy. > > Thanks, > Raymond > > *From:* Malte Marquarding <[EMAIL PROTECTED]> > *Sent:* Tuesday, July 29, 2008 6:09 PM > *To:* user@tuscany.apache.org > *Subject:* Re: calculator-distributed on multiple hosts > > Hi Simon, > thanks for this.

Re: calculator-distributed on multiple hosts

2008-07-29 Thread Raymond Feng
, FTP, SVN commit, Maven deploy. Thanks, Raymond From: Malte Marquarding Sent: Tuesday, July 29, 2008 6:09 PM To: user@tuscany.apache.org Subject: Re: calculator-distributed on multiple hosts Hi Simon, thanks for this. I guess what I am asking - as I am just coming back to java - is how

Re: calculator-distributed on multiple hosts

2008-07-29 Thread Malte Marquarding
Hi Simon, thanks for this. I guess what I am asking - as I am just coming back to java - is how can I "publish" the contributions' jar without doing it manually. I don't want to use a "contribution location="file://" style url, but have the jar made avaliable somewhere under - in this example - htt

Re: calculator-distributed on multiple hosts

2008-07-29 Thread Simon Laws
On Tue, Jul 29, 2008 at 5:25 AM, Malte Marquarding < [EMAIL PROTECTED]> wrote: > Hi, > I had a look at it myself. I now understand that I can set the url in > 'workspace.xml' - RTFM . How do I package/deploy contribution as a jar > file. Or should I leave this to you by submitting a JIRA? > > C

Re: calculator-distributed on multiple hosts

2008-07-28 Thread Malte Marquarding
Hi, I had a look at it myself. I now understand that I can set the url in 'workspace.xml' - RTFM . How do I package/deploy contribution as a jar file. Or should I leave this to you by submitting a JIRA? Cheers, Malte On Sat, Jul 26, 2008 at 12:17 AM, Simon Laws <[EMAIL PROTECTED]>wrote: > > >

Re: calculator-distributed on multiple hosts

2008-07-25 Thread Simon Laws
On Fri, Jul 25, 2008 at 2:59 PM, Simon Laws <[EMAIL PROTECTED]> wrote: > > > On Fri, Jul 25, 2008 at 6:33 AM, Malte Marquarding < > [EMAIL PROTECTED]> wrote: > >> Also, why doesn't it look it up in the jar? I edited the ant script to >> include the path and remove the src directory, but that didn'

Re: calculator-distributed on multiple hosts

2008-07-25 Thread Simon Laws
On Fri, Jul 25, 2008 at 6:33 AM, Malte Marquarding < [EMAIL PROTECTED]> wrote: > Also, why doesn't it look it up in the jar? I edited the ant script to > include the path and remove the src directory, but that didn't help. > > Cheers, > Malte. > > On Fri, Jul 25, 2008 at 2:49 PM, Malte Marquarding

Re: calculator-distributed on multiple hosts

2008-07-24 Thread Malte Marquarding
Also, why doesn't it look it up in the jar? I edited the ant script to include the path and remove the src directory, but that didn't help. Cheers, Malte. On Fri, Jul 25, 2008 at 2:49 PM, Malte Marquarding < [EMAIL PROTECTED]> wrote: > Hi, > I made some progress. The problem is that the 'nodeB'

Re: calculator-distributed on multiple hosts

2008-07-24 Thread Malte Marquarding
Hi, I made some progress. The problem is that the 'nodeB' composite file is looked up with an absolute path of server1 location of the file on server2. I hope you know what I mean. I found this by moving both server1 and server2 code into '/tmp' - the same location. Now the example runs happily. Sh

Re: calculator-distributed on multiple hosts

2008-07-24 Thread Malte Marquarding
Hi Simon, that's exactly what I did the very first time I tried this (before asking for help). I do get the same exception with respect ro FileNotFound on Host1 (server running domain). This is what the domain log says [java] Jul 25, 2008 10:03:53 AM org.apache.tuscany.sca.workspace.admin.impl.C

Re: calculator-distributed on multiple hosts

2008-07-24 Thread Simon Laws
On Tue, Jul 22, 2008 at 12:53 AM, Malte Marquarding < [EMAIL PROTECTED]> wrote: > Hi Simon, > I did the following > > Host 1: > ant runDomain > > Host 2: > I modified in my case the NodeB launcher to run in the remote location. I > get an exception because it can find the artefacts > > ant runDoma

Re: calculator-distributed on multiple hosts

2008-07-21 Thread Malte Marquarding
Hi Simon, I did the following Host 1: ant runDomain Host 2: I modified in my case the NodeB launcher to run in the remote location. I get an exception because it can find the artefacts ant runDomain ant runNodeB [java] INFO: Loading contribution: file:/Users/me/java/tuscany-sca-1.2.1-incub

Re: calculator-distributed on multiple hosts

2008-07-21 Thread Simon Laws
On Mon, Jul 21, 2008 at 9:40 AM, Malte Marquarding < [EMAIL PROTECTED]> wrote: > Hi, > Thanks that works. > > Does that mean you are running two domains? This is exactly what I stumbled > over. I remote domain manger would certainly be good. > > Cheers, > Malte > > > On Mon, Jul 21, 2008 at 3:06 P

Re: calculator-distributed on multiple hosts

2008-07-21 Thread Malte Marquarding
Hi, Thanks that works. Does that mean you are running two domains? This is exactly what I stumbled over. I remote domain manger would certainly be good. Cheers, Malte On Mon, Jul 21, 2008 at 3:06 PM, Luciano Resende <[EMAIL PROTECTED]> wrote: > The calculator-distributed already runs in multip

Re: calculator-distributed on multiple hosts

2008-07-20 Thread Luciano Resende
The calculator-distributed already runs in multiple VM. Let me describe the steps I had to do in order to run the sample in two different machines. In one of the machine, I ran NodeB and NodeC by doing the following : ant runDomain ant runNodeB ant runNodeC In the other machine, I ran NodeA that

Re: calculator-distributed on multiple hosts

2008-07-20 Thread Malte Marquarding
Hi, any takers? I tried the API docs, but they are outdated - JIRA submitted and trying to build from source. Cheers, Malte

calculator-distributed on multiple hosts

2008-07-15 Thread Malte Marquarding
Hi, is it possible to use the calculator-distributed example to run on multiple hosts? This shouldn't be different from different VMs or am I mistaken. What do I need to do to e.g. launch NodeB on a different machine? Cheers, Malte.