[EMAIL PROTECTED] wrote:
>
> 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
Cabbey, you're a star!
One question: what's a pgm?
( I was just looking in "Java Examples in a Nutshell" book
and was about to go away and solve the Exercise CH 15-2. )
--
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]