From: Shashank Date Date: 2004-01-04T06:06:46+09:00 Subject: Re: DRb question Hi Jos, > I am trying to write a simple remote execution framework, and am running into a Interesting ... keep us posted. > DRb problem I can't seem to figure out. The system consists of a controller and > a number of clients; the controller sends commands to the clients (these > commands in turn will eventually talk to a server). Looking at the code makes me feel that the controller is a DRb client and your client is actually a DRb server. Not a big issue at all ... just tripped me initially. > The problem is that when I > make the same method call twice in a row I see the following error on the > controller side: > > Terminal A: running the client: > > lizzy:~/public_html/ruby/webrun% ./webrun-client.rb > Starting WebRun service on localhost:12345 > WebRunClient.add(u1) > users=[u1] > cmd=load_file > > Terminal B: running the controller: > > lizzy:~/public_html/ruby/webrun% ./webrun-control.rb > assigning proxy for localhost > ##}> > ##}> > user u1 -> client localhost:12345 > execute cmd load_file on client localhost:12345 for users [u1] > > 2nd call fails: > #