Reliable Messaging With Ruby and DRb

Discussion in 'Ruby' started by mplee168@gmail.com, Jul 9, 2007.

  1. Guest

    Hello,

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


    require 'rubygems'
    require 'reliable-msg'

    manager = ReliableMsg::QueueManager.new
    manager.start

    queue = ReliableMsg::Queue.new 'my-queue', :drb_uri => 'druby://
    127.0.0.1:6438'
    #queue = ReliableMsg::Queue.new 'my-queue', :drb_uri => 'druby://
    10.8.8.41:6438'
    queue.put "This is a test object"

    msg = queue.get
    p msg

    manager.stop



    Thanks
    , Jul 9, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rick

    Soap 1.1 and Reliable Messaging

    Rick, Dec 14, 2009, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    738
  2. Miles Keaton
    Replies:
    3
    Views:
    179
    Miles Keaton
    Mar 30, 2005
  3. Kirk Haines

    More DRb; SSL & DRB & errors

    Kirk Haines, Jul 1, 2005, in forum: Ruby
    Replies:
    0
    Views:
    123
    Kirk Haines
    Jul 1, 2005
  4. J. Wook
    Replies:
    16
    Views:
    279
    Robert Klemme
    May 16, 2007
  5. Ittay Dror
    Replies:
    1
    Views:
    133
    Ittay Dror
    Oct 21, 2008
Loading...

Share This Page