>Anyone been able to succesfully launch rmiregistry and bind
>UnicastRemoteObjects to it on Linux?

Yup, use a lot of it... works quite well.

>First, do you know of any way to debug rmiregistry when it launches? The
>reason I'm asking is this, when I launch rmiregistry "./rmiregistry 1099
>&" as a daemon process all seems fine.

There is so little to it that debugging is fairly trivial... if it didn't
throw an exception, and you get a hit on `netstat -an | grep 1099` then
it's up.

>However, when I fire up a RMI Server App I wrote to demonstrate
>distributed objects and it attempts to bind itself to a url via
>Naming.rebind(String name, Object object) the following exception is thrown:
>
>"Caught exception while registering: java.rmi.ConnectException:
>Connection refused to host: [ns2-lsan03.pbi.net:1099]; nested exception is:
>java.net.ConnectException: Connection refused"

what is the URL? try "rmi://127.0.0.1/servername", if that fixes it then
take a look at the output of a call like InetAddress.getLocalHost() or play
around with some of the other methods in this class, brcause this sounds
like a TCP configuration problem...


  cabbey at home dot net <*> http://members.home.net/cabbey
           I want a binary interface to the brain!
Today's opto-mechanical digital interfaces are just too slow!


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to