Mailing List webobjects-dev@wocommunity.org Message #388
From: Markus Ruggiero (rucotec) <markus.ruggiero@rucotec.ch>
Subject: Re: [WO-DEV] Non instance found but Monitor shows it as being up and running
Date: Thu, 17 Nov 2022 12:45:11 +0100
To: WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
Signed Data (Text SHA256)
No one?

Is there documentation for REST calls to wotaskd and/or JavaMonitor? I haven’t found anything, might have been looking in the wrong place 🙃

---markus---

> On 15 Nov 2022, at 16:20, Markus Ruggiero (rucotec) <markus.ruggiero@rucotec.ch> wrote:
>
> This is a weird one.
>
> We have a WOApp deployed on Ubuntu 20.04.5 LTS on a cloud server. App is classically controlled by JavaMonitor and instance (currently only one) is scheduled for restart every day at 5am. Once in a while the first user in the morning is greeted by “no instance found”, but checking with JavaMonitor everything looks good and there are not deaths reported! Manually restarting the instance clears things up. It seems that sometimes the instance does not come up fully or the connection with WOAdaptor to Apache breaks. Anyone having had similar issues? We are running a fairly up-to-date Apache (Server version: Apache/2.4.41 (Ubuntu) Server built:   2022-06-14T13:30:55). WOAdaptor is the one built by Maik (thanks a lot for this).
>
> Another weird thing is that we have various other applications running on the same and on other similarly set up servers, none of them having any issues. Any idea on that?
>
> Is there a way to externally trigger Monitor or WOtaskd to restart an instance? Does the REST interface support this and how would I call it with e.g. curl? I could then create my own heartbeat script testing and restarting instances through Apache.
>
> Thanks for any help
> ---markus---
>


Content Unaltered as verified By:
<markus.ruggiero@rucotec.ch>
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster