rather than reimpl java.rmi.registry.Registry (hint ;) just test if the
port is still bound. A quick shell script in a cron job to run netstat -an
and cut down to the local port number, looking for listen. Or a java pgm
that open's a socket to 1099. Or a java pgm that just does a lookup. Any
would work. -=Chris
At 10:49 10/22/99 +0100, Peter Pilgrim wrote:
>Hi knowledgable Java-linux users.
>
>I am looking for an implementation source of code of rmiregistry.
>
>I really want to add a thread that touches a PID file every 5 seconds
>so that I know the rmiregistry is ALIVE. I don't need a custom
>registry if you know what I mean. Just a constant tick tick tick.
>When the registry process died and thus sent an alert or email
>from a perl script for example.
>
>So any pointers to an implementation of a rmiregistry greatly
>received.
>
>( My gut feeling is the code very simply a combo of
>RMIClassLoader, and LocateRegistry class, but time is precious
>at the mo ...)
>
>TIA
>
>--
>
>Adios
>Peter
>
>-----------------------------------------------------------------
>import std.Disclaimer; // More Java for your Lava, Mate.
>"Give the man, what he wants. £££" [on Roy Keane, Quality Player]
>
>
>----------------------------------------------------------------------
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
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]