NME at /usr/lib/ruby/1.8/drb/drb.rb:1204 - undefined method `alive?' for nil:NilClass


#1

e$BET9g$K$h$j>/$78E$$e(BRubye$B$Ne(BDRbe$B$r;H$C$F$$$k$N$G$9$,!"$H$"$k4D6-$G!"0J2<$NNce(B
e$B30$,=P$^$7$?!#:F8=<j=g$O3NN)$G$-$F$$$^$;$s!#e(B

Exception NoMethodError' at /usr/lib/ruby/1.8/drb/drb.rb:1204 - undefined methodalive?’ for nil:NilClass

DRbConn#alive?e$B$G$9!#e(B

DRbConn.opene$B$Ne(Bensuree$B$G!“e(Bconne$B$,Hse(Bnile$B$Ge(Bsucce$B$,e(Bfalsee$B$@$H!“e(Bclosede$B$Je(BDRbConne$B$,e(B
poole$B$K;D$k!”$H$$$&>u67$,$”$j$=$&$G$9!#$H$$$&$o$1$G$3$s$J46$8e(B?

— drb.rb 2006-07-10 10:57:18.000000000 +0900
+++ /home/nahi/drb.rb 2008-11-14 15:41:31.000000000 +0900
@@ -1202,4 +1202,5 @@ module DRb

 def alive?  # :nodoc:
  •  return false unless @protocol
     @protocol.alive?
    
    end

#2

e$B31$H$$$$$^$9!#e(B

On 2008/11/18, at 17:04, NAKAMURA, Hiroshi wrote:

succe$B$,e(Bfalsee$B$@$H!“e(Bclosede$B$Je(BDRbConne$B$,e(B
poole$B$K;D$k!”$H$$$&>u67$,$"$j$=$&$G$9!#$H$$$&$o$1$G$3$s$J46$8e(B?

— drb.rb 2006-07-10 10:57:18.000000000 +0900
+++ /home/nahi/drb.rb 2008-11-14 15:41:31.000000000 +0900
@@ -1202,4 +1202,5 @@ module DRb

def alive?  # :nodoc:
  •  return false unless @protocol
    @protocol.alive?
    
    end

e$B$"!<!#e(B
e$B;XE&$NDL$j$@$H;W$$$^$9!#$"$j$,$H$&$4$6$$$^$9!#e(B

e$B:#=5Cf$K:n6H$7$^$9!#e(B