F
Ferenc Engard
Hi all,
The drb documentation says that I can raise exceptions in a remote
object method and the exception is marshaled to the calling side.
Unfortunately this do not work for me. If any exception is raised in a
remote object, I get the following exception in the calling process:
c:/ruby/lib/ruby/1.8/drb/drb.rb:558:in `load': connection closed
(DRb:RbConnError)
from c:/ruby/lib/ruby/1.8/drb/drb.rb:611:in `recv_reply'
from c:/ruby/lib/ruby/1.8/drb/drb.rb:865:in `recv_reply'
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1104:in `send_message'
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1015:in `method_missing'
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1014:in `open'
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1014:in `method_missing'
from chaos.rb:27:in `initialize'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ here I called a remote method
What do I do wrong?
Thanks:
Ferenc
The drb documentation says that I can raise exceptions in a remote
object method and the exception is marshaled to the calling side.
Unfortunately this do not work for me. If any exception is raised in a
remote object, I get the following exception in the calling process:
c:/ruby/lib/ruby/1.8/drb/drb.rb:558:in `load': connection closed
(DRb:RbConnError)
from c:/ruby/lib/ruby/1.8/drb/drb.rb:611:in `recv_reply'
from c:/ruby/lib/ruby/1.8/drb/drb.rb:865:in `recv_reply'
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1104:in `send_message'
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1015:in `method_missing'
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1014:in `open'
from c:/ruby/lib/ruby/1.8/drb/drb.rb:1014:in `method_missing'
from chaos.rb:27:in `initialize'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ here I called a remote method
What do I do wrong?
Thanks:
Ferenc