Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Reliable Messaging With Ruby and DRb

Thread Tools

Reliable Messaging With Ruby and DRb
Posts: n/a

My local IP address is I could not figure out why when I
use the code works but fails when I use my IP address. The
error is "druby:// - #<Errno::EBADF: Bad file descriptor
- connect(2)"

require 'rubygems'
require 'reliable-msg'

manager =

queue = 'my-queue', :drb_uri => 'druby://'
#queue = 'my-queue', :drb_uri => 'druby://'
queue.put "This is a test object"

msg = queue.get
p msg



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Soap 1.1 and Reliable Messaging Rick ASP .Net Web Services 0 12-14-2009 07:45 PM
DRb connection error with more than 250+ DRb services J. Wook Ruby 16 05-16-2007 11:32 AM
More DRb; SSL & DRB & errors Kirk Haines Ruby 0 07-01-2005 06:29 PM
Upgrade path for MCSA:2000 Messaging to MCSA:2003 Messaging D. Young MCSA 2 04-05-2005 08:19 AM
DRb / dRuby - freezes on DRb::DRbUndumped - any ideas? Miles Keaton Ruby 3 03-30-2005 03:37 PM