RemoteActorを使うときの注意

対話モードで実験しているときは良かったのだが、
いざコンパイルして使おうとすると、

RemoteActor.classLoaderに明示的にクラスローダを入れてやらないと、
外部から接続出来ないみたいです。

via http://www.nabble.com/Re:--scala--Remote-Actors.-p14715380.html

RemoteActor.classLoader = getClass().getClassLoader()

actor {
  RemoteActor.alive(12345)
  RemoteActor.register('hoge, self)
  loop {
    react {
      :
    }
  }
}

と言う感じ。
ちなみに、クライエント側も同様

2時間ほど嵌まった・・・orz