Thanks very much for all of your help.
It looks just like what I need.
Aron.
David Bullock wrote:
>
> You might also be interested to check out http://www.coolservlets.com/Maintenance/ -
>the guys there have such a tool already built. It's GPL.
>
> regards,
> David.
>
> On Thu, 25 Jan 2001, CPC Livelink Admin wrote:
>
> >
> > In the servlet container, you can start a thread and sleep there and do your
> > check. You could build a servlet whose whole job is this, using the
> > LoadOnStartup mechanism to get it to start automatically.
> >
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Aron Kramlik
> > Sent: Wednesday, January 24, 2001 11:33 PM
> > To: [EMAIL PROTECTED]
> > Subject: Heartbeat/watchdog signal
> >
> >
> > Hi,
> >
> > This is more concerned with servlet engines in general rather
> > than Tomcat itself but I had hoped I could get some good ideas
> > from you.
> >
> > What I would like to do is have something call a method, or a
> > servlet in this case, at regular intervals. The reason for this
> > is to be able to update this software components' health status.
> > I guess it is sort of like an SNMP check to see when the last
> > time some software component has said it is OK.
> >
> > I am not sure how to implement this inside a servlet container,
> > or if it can be. UNIX cron could be setup to do a HTTP / GET
> > on a servlet at regular intervals, or so could a separate JVM
> > that slept for a period of time and then called a servlet but
> > I am wondering if there are any other solutions out there that
> > people are using to report status on certain components.
> >
> > Thanks as always,
> >
> > Aron.
> >
> > ----
> > Aron Kramlik
> > Software Engineer
> > Tenzing Communications Inc
> > [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
> >
>
> David Bullock
> Project Lead
>
> email: [EMAIL PROTECTED]
> mobile: +61 4 0290 1228
>
> "The key ingredients of success are a crystal-clear goal,
> a realistic attack plan to achieve that goal,
> and consistent, daily action to reach that goal."
>
> Steve Maguire, "Debugging the Development Process".
>
> LISAsoft
> http://www.lisasoft.com/
>
> Adelaide Sydney
> -------------------- ------------------------
> 38 Greenhill Rd Level 3, 228 Pitt Street
> Wayville S.A. 5034 Sydney NSW 2000
> Australia Australia
>
> PH +61 8 8272 1555 PH +61 2 9283 0877
> FAX +61 8 8271 1199 FAX +61 2 9283 0866
> -------------------- ------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
--
Aron Kramlik
Software Engineer
Tenzing Communications Inc
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]