X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) From: "Valerio Luccio" Received: from mx0b-00256a01.pphosted.com ([67.231.153.242] verified) by post.selbstdenker.com (CommuniGate Pro SMTP 6.3.7) with ESMTPS id 26759974 for webobjects-dev@wocommunity.org; Mon, 08 Nov 2021 22:38:29 +0100 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=67.231.153.242; envelope-from=valerio.luccio@nyu.edu Received: from pps.filterd (m0144081.ppops.net [127.0.0.1]) by mx0b-00256a01.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1A8KHSKe035213 for ; Mon, 8 Nov 2021 16:38:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nyu.edu; h=content-type : message-id : date : mime-version : subject : to : references : from : in-reply-to; s=20180315; bh=dzzShupw7LQz/djfpoZLt07aoIjC/rvGzCGJVa0PTYg=; b=jsdF/cfp6vb1Ka+b3zZz5TxW8vwcDmlg0ehHQ+jK1MuxOEIZbvY666LQdbHwDnYufcDt I2YESncpOKsnaOrYfMsPZzMJ7WdbbV7LTp/MqIWgiTPVS8uo77xAlhUoRb4sqIZW/gBQ cziqlWeyaZODNCJdVi1wAcMq5aDVe1ZVmYh9bU+nz1jwBfnlWMltTsDXinNiYq19o9H2 qvUoSSIZoCQiNO/GW6qE88LE4UElGrCzVTzKAhZQ1TBHFeIUX7O49lEQY9+x5yTYYRCZ 82IB5ZNbhb9VSXJBgPA0WHYtjRMu87xwwtp4S3Zgjd4S2wBuB9Q6lCySgy4zIkEEuiiL rg== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0b-00256a01.pphosted.com (PPS) with ESMTPS id 3c73ts4jbp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 08 Nov 2021 16:38:05 -0500 Received: by mail-qt1-f197.google.com with SMTP id w12-20020ac80ecc000000b002a7a4cd22faso13064515qti.4 for ; Mon, 08 Nov 2021 13:38:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to; bh=dzzShupw7LQz/djfpoZLt07aoIjC/rvGzCGJVa0PTYg=; b=q0B9iFO5zTCnTNPnRckHe3v0Ew1m1x5zDdUGYiMfUX6iQuneF2Z0qgY3kRHbk3Fggg oUrT8rCa+J2UFfvVsSMDgMPW1WQONTG9tLD56M8AJtUsL6l5+HMRJDsJ9+yCT0gm72q6 EFClCpbVIVRt+CZUBFnVJVH8oMBxpP7awS5/CEzvLcjpxCpVzspL7coFZfH8SvxrQUMr F6efkk4sJd6AqTuU5JwJvuomgjKxDPJfa4D69gP2GbeBuH6Z4/E0o/VH5LOH3uw1fl8r KUm8SZR+S4euWgbxbNJFddUpv1VaoXBCa+ppUlTpqAICH/kWumZgW0OuU9nhbnFWLZRe noSg== X-Gm-Message-State: AOAM5321maKESWViS55B800reSALH4/a6OanxN1YdmJlNZttIX2fKsoD nJ5P/3yidFaa1x2leMvzGYngRg1znF79OqhvSBgSGGVV+x4cOVDem+m6u7QusPJUcx5e8pNS4HF n4eqipaB+Wiv5lb/vi3I5W4lwKA== X-Received: by 2002:a05:622a:593:: with SMTP id c19mr3052816qtb.240.1636407485018; Mon, 08 Nov 2021 13:38:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJx561yspDDbjfKo5n7hrAsNWRkY94eJi0VoKhPHIFPGJvuq314pLaUSIuXnkh/lHnmN3LGxJw== X-Received: by 2002:a05:622a:593:: with SMTP id c19mr3052759qtb.240.1636407484555; Mon, 08 Nov 2021 13:38:04 -0800 (PST) Received: from [192.168.1.93] (4133da4e.cst.lightpath.net. [65.51.218.78]) by smtp.gmail.com with ESMTPSA id j15sm11911108qtx.67.2021.11.08.13.38.03 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Nov 2021 13:38:04 -0800 (PST) Content-Type: multipart/alternative; boundary="------------NYgju0iez1nGYnaOfLHX1bEY" Message-ID: Date: Mon, 8 Nov 2021 16:38:03 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [WO-DEV] Re: WOMonitor on CentOS Content-Language: en-US To: WebObjects & WOnder Development References: In-Reply-To: X-Proofpoint-GUID: xa8_KDmTRx2aBJuHxs5uXFkL5eqJt-AV X-Proofpoint-ORIG-GUID: xa8_KDmTRx2aBJuHxs5uXFkL5eqJt-AV X-Orig-IP: 209.85.160.197 X-Proofpoint-Spam-Details: rule=outbound_bp_notspam policy=outbound_bp score=0 mlxscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 phishscore=0 impostorscore=0 priorityscore=1501 bulkscore=0 clxscore=1015 mlxlogscore=999 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111080127 This is a multi-part message in MIME format. --------------NYgju0iez1nGYnaOfLHX1bEY Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Thanks, not sure when I'll be able to get to this. On 11/4/21 6:24 AM, Hugi Thordarson wrote: >>> not sure I'm following this. >>> >>> Which Application dispatchRequest am I supposed to monitor ? The application I wrote ? wotaskd ? WOMonitor ? >>> >> On my reading, Hugi meant that you should do something like this in Application.dispatchRequest() for the application you wrote: >> >> @Override >> public WOResponse dispatchRequest(WORequest request) { >> LOG.trace(" request = " + request); >> LOG.trace("request.uri() = " + request.uri()); >> return super.dispatchRequest(request); >> } >> >> 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 > ############################################################# > This message is sent to you because you are subscribed to > the mailing list. > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > To switch to the INDEX mode, E-mail to > Send administrative queries to > -- Valerio Luccio High Performance Computing 10 Astor Place, Room 415 New York University New York, NY 10003 "In an open world, who needs windows or gates ?" --------------NYgju0iez1nGYnaOfLHX1bEY Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Thanks,

not sure when I'll be able to get to this.

On 11/4/21 6:24 AM, Hugi Thordarson wrote:


        
not sure I'm following this. 

Which Application dispatchRequest am I supposed to monitor ? The application I wrote ? wotaskd ? WOMonitor ?

On my reading, Hugi meant that you should do something like this in Application.dispatchRequest() for the application you wrote:

	@Override
	public WOResponse dispatchRequest(WORequest request) {
		LOG.trace("      request = " + request);
		LOG.trace("request.uri() = " + request.uri());
		return super.dispatchRequest(request);
	}

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
#############################################################
This message is sent to you because you are subscribed to
  the mailing list <webobjects-dev@wocommunity.org>.
To unsubscribe, E-mail to: <webobjects-dev-off@wocommunity.org>
To switch to the DIGEST mode, E-mail to <webobjects-dev-digest@wocommunity.org>
To switch to the INDEX mode, E-mail to <webobjects-dev-index@wocommunity.org>
Send administrative queries to  <webobjects-dev-request@wocommunity.org>

--
Valerio Luccio    
High Performance Computing     10 Astor Place, Room 415
New York University     New York, NY 10003

"In an open world, who needs windows or gates ?"
--------------NYgju0iez1nGYnaOfLHX1bEY--