From: Ken Hilton Date: 2004-05-08T01:18:56+09:00 Subject: Re: DRb Connection Closed Error?!?!?!? I upgraded Win Ruby's DRb to the very latest version and the problem persists. Also, the error being raised does appear to be on the server side. Still hoping for some help here to keep my project viable and on track. Ken. "daz" wrote in message news:HsucnTcqg-of9wbdSa8jmw@karoo.co.uk... > > Ken Hilton wrote: > > > Joel VanderWerf wrote: > > > Ken Hilton wrote: > > > > > > > > Can anyone explain to me why this very simple little DRb client > > > > server pair generates a DRb::DRbConnError when the client terminates? > > > > I've checked out the books and the samples and I can't see what I'm > > > > missing. I'm running Ruby 1.8.1 on Win2000 and WinXP. > > > > The problem reproduces w/the pair running on the same machine > > > > or (with the host id modified) when each is running on > > > > separate machines. > > > > > > I realize this is not much help to you, but it works fine on linux, with > > > either 1.8.1 or 1.9.0. > > > > > > > I figured as much. This is the second window's specific issue I've > > uncovered since upgrading to 1.8.1. Hopefully one of the WinRuby wizards > > out there will have an idea. Thx! :) > > > > Ken. > > > > Works for me, too on Win98se (Ruby 1.8.0 & 1.9.0). > > > > > PS. I am unable to rescue the error that was raised by DRb, which BTW > > > > puzzles me further. > > The DRb::DRbConnError must be happening on the client side - > try a rescue there. > > ----- > > While you're delving in this area, I see that William Webber has > profusely documented the dRuby 2.0.4 source code -- same version as you have > but now three times the size !! > http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/~checkout~/ruby/lib/drb/drb.rb?rev=1.11.2.5;content-type=text%2Fplain > > > Cheers, > > daz > > >