X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) From: "Hugi Thordarson" Received: from mail-02.1984.is ([185.112.145.70] verified) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.7) with ESMTPS id 26738704 for webobjects-dev@wocommunity.org; Thu, 04 Nov 2021 11:24:58 +0100 Received-SPF: none receiver=post.selbstdenker.com; client-ip=185.112.145.70; envelope-from=hugi@karlmenn.is Received: from localhost by mail-02.1984.is with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1miZvA-0004u0-7o for webobjects-dev@wocommunity.org; Thu, 04 Nov 2021 10:24:36 +0000 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: Re: [WO-DEV] WOMonitor on CentOS Date: Thu, 4 Nov 2021 10:24:36 +0000 References: To: WebObjects & WOnder Development In-Reply-To: Message-Id: <20ABB1A9-B68C-4E06-9533-6CFCB04FC1E8@karlmenn.is> X-Mailer: Apple Mail (2.3693.20.0.1.32) >> not sure I'm following this.=20 >>=20 >> Which Application dispatchRequest am I supposed to monitor ? The = application I wrote ? wotaskd ? WOMonitor ? >>=20 > On my reading, Hugi meant that you should do something like this in = Application.dispatchRequest() for the application you wrote: >=20 > @Override > public WOResponse dispatchRequest(WORequest request) { > LOG.trace(" request =3D " + request); > LOG.trace("request.uri() =3D " + request.uri()); > return super.dispatchRequest(request); > } >=20 > Where LOG is a logger object of whatever type you use. Exactly :). And the properties file I mentioned (/etc/WebObjects/Properties) is just = a global configuration file for all WO instances on the machine, so it's = a convenient location to set, well, global configuration. Such as the = "er.extensions.WOHostUtilities.localhostips" property I mentioned. (that = was the magic solution for me when I had similar problems a few years = back). Cheers, - hugi=