I need to monitor the health of James - basically if its running.  Are there
any builtins that will let me basically 'ping' James to see if its up and
working.
I'm running on NT so I can't use a shell script to get the job's pid.  Until
I convert James to start as a NT service, I can't use
any service API's that will allow monitoring.  I can't also simply monitor
the running tasks because the image name is simply java.exe
(besides I'd have to switch over to C++ to write the NT Task monitor)


Two possible options are
 a) configure a thread - part of a custom mailet that starts up along with
James and essentially responds to a ping request
 b) send an email to a predefined address that is captured using a mailet
that will then write a 'I'm alive' signature somewhere

I would think that 'A' is a little cheaper in terms of execution but am open
to other approaches.

-shal



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to