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 26678132 for webobjects-dev@wocommunity.org; Sat, 23 Oct 2021 12:19:12 +0200 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=67.231.153.242; envelope-from=vl26@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 SMTP id 19N7IKLY019771 for ; Sat, 23 Oct 2021 06:18:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nyu.edu; h=mime-version : references : in-reply-to : reply-to : from : date : message-id : subject : to : content-type; s=20180315; bh=rz27QVlhFAX41m6IsMKPwVvu9Ef5XSvqYw7UhoL6eek=; b=uLmQ9nzDuIzlmIwjEWX+GU3eagC2nET+PmNpC3uVA6Le+f4fY37E3aID046NJbI4rdcK vpjXPLZYDZiAtDhyuQoD8CLfJ7bl7elvgvyhH+E6BUf1qyEl/THIXkebJJhVEBLhhcDZ Tt7VgGJI5WDp+4xlhgnLkKxd+GwaTYC2bZY+NyuFXHzu+d11oueeWd97wXwgqqTvu32T NbQqAdtoJGH5kXdQPLsAe27gzmKVvxrrbhEVlaOOOnHk+3bRhbXKS5T7Muew68xNIbkf 5bSM3PWp8mh1EMc8q72Fbu1LIfd9y6Wdd5qFSMMC+gjNhfC58LLAW6rbT4EzRdhRKn/+ uw== Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by mx0b-00256a01.pphosted.com with ESMTP id 3bvdvt8y04-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sat, 23 Oct 2021 06:18:50 -0400 Received: by mail-lf1-f71.google.com with SMTP id p19-20020a056512139300b003ff6dfea137so3049870lfa.9 for ; Sat, 23 Oct 2021 03:18:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to; bh=rz27QVlhFAX41m6IsMKPwVvu9Ef5XSvqYw7UhoL6eek=; b=LNZfsSy2VyNSJhSmojlbxUaBYLZZq3FU9zrLpAdxnml0v8HV99oVgMiaY3B5ODM22S tUR/g1tv+yAvy/2d2HGfz9by9b1yqW7sWFzgf6l2mwnWW6vRdXaGQpIngaVaiPkQrr5o bd/clkir8+hM2hNFQESzN1OC1KWcuYCvBeqgG/8jA8TzA/NeeRvBgly0+JJ9o/Gy5r9k IKukTpKFUrkA8ubTT1F5BKRtaFa1UZsrUDAVridd0GOJ6d75OGfGfZYpemsuYXlNIHcW JMiQ9c2yTl6s2G2aNbEBZTjbaZb9ZbsFzHhnkQa6fRXzw1/CBh2hAIVBlDdOvefZGwi+ 1Stw== X-Gm-Message-State: AOAM533OaCwNiC15nbzpfxDph2p46E/eha0kyds+6UTST7KPj0dCYbS9 LeAChCspXr35Hjwwq4n1cTWODNjPSaNzj4cXfExH+5c/fjCrgbjToGDS47L7TijbxjEbHHLy7JJ 0AyMJo8KhbiiFOz5u1ooRgz6/Yirsu2bwGjCLMLYaug== X-Received: by 2002:ac2:54a7:: with SMTP id w7mr5048300lfk.303.1634984328078; Sat, 23 Oct 2021 03:18:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUP3qEAfx1hqPZEqxLOaHfGYTPMyTyphU4LE2tZNlCtrhyBxDWTuUMb7e9Y06iXnKwid0qvVYUERu8qR33Zbg= X-Received: by 2002:ac2:54a7:: with SMTP id w7mr5048270lfk.303.1634984327678; Sat, 23 Oct 2021 03:18:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: valerio.luccio@nyu.edu Date: Sat, 23 Oct 2021 12:18:36 +0200 Message-ID: Subject: Re: [WO-DEV] Re: WOMonitor on CentOS To: "WebObjects & WOnder Development" Content-Type: multipart/alternative; boundary="00000000000010a27805cf02741a" X-Proofpoint-ORIG-GUID: vxZrAPPxqk1y6aXvEhF_Fsw0p6jdimU- X-Proofpoint-GUID: vxZrAPPxqk1y6aXvEhF_Fsw0p6jdimU- X-Orig-IP: 209.85.167.71 X-Proofpoint-Spam-Details: rule=outbound_bp_notspam policy=outbound_bp score=0 clxscore=1015 spamscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 phishscore=0 mlxlogscore=921 malwarescore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109230001 definitions=main-2110230064 --00000000000010a27805cf02741a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Samuel, that is a very good insight. I'm currently travelling, but when I'm back I'll play with policies/firewall and let you know what I found out. Thanks, On Fri, Oct 22, 2021 at 3:28 PM Samuel Pelletier < webobjects-dev@wocommunity.org> wrote: > Hi Valerio, > > I experience the same problem on a Cent OS instance (I think this is a > VMWare distribution) but it works on others... > > There is a major difference between starting the instance and other > function like stop and refuse new session. Start is done by wotaskd that > launc the process, others are http call to the instance by wotaskd, to so= me > direct actions (womp handler I think). > > I suspect that the communication between wotaskd and instance is blocked > by the firewall or system policy but I do not have a definitive proof of > this. > > Regards, > > Samuel > > Le 21 oct. 2021 =C3=A0 13:29, Valerio Luccio > a =C3=A9crit : > > Thanks Lon, > I didn't see your answer until now because gmail (which I hate every day > more) had hidden it. > > I'll see what I can find in the logs, although "start" works fine, why > would "stop" be different ? > > > On Tue, Oct 5, 2021 at 11:10 PM Lon Varscsak < > webobjects-dev@wocommunity.org> wrote: > >> Look in your application log, do you see messages about not being able t= o >> communicate with monitor? I found this problem happens if I don't have >> JavaXML as part of my project (or classpath defined to whatever the xml >> jars are). >> >> -Lon >> >> On Tue, Oct 5, 2021 at 1:43 PM Valerio Luccio < >> webobjects-dev@wocommunity.org> wrote: >> >>> I recently ported my WebObjects app from an old OS X server to a CentOS >>> 8 server. >>> >>> The WOMonitor on CentOS allows me to configure the app and start it, bu= t >>> it will not stop it (I end up doing with pkill from command line) and t= he >>> Auto-Recover does not work. I also tried from command line using curl t= o >>> communicate to WOMonitor, it does the info and start correctly, but it = will >>> not stop the app. >>> >>> I've looked at the log file for the WOMonitor, but there was nothing >>> useful. >>> >>> Any ideas ? >>> >>> Thanks in advance, >>> -- >>> Valerio Luccio >>> High Performance Computing >>> New York University New York, NY 10003 >>> >>> "In an open world, who needs windows or gates ?" >>> >>> > > -- > 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 ?" > > > --=20 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 ?" --00000000000010a27805cf02741a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Samuel,
that is a very good insight. I&#= 39;m currently travelling, but when I'm back I'll play with policie= s/firewall and let you know what I found out.

Than= ks,

On Fri, Oct 22, 2021 at 3:28 PM Samuel Pelletier <webobjects-dev@wocommunity.org> wrote:
Hi Valerio,

I ex= perience the same problem on a Cent OS instance (I think this is a VMWare d= istribution) but it works on others...

There is a = major difference between starting the instance and other function like stop= and refuse new session. Start is done by wotaskd that launc the process, o= thers are http call to the instance by wotaskd, to some direct actions (wom= p handler I think).

I suspect that the communicati= on between wotaskd and instance is blocked by the firewall or system policy= but I do not have a definitive proof of this.

Reg= ards,

Samuel


Thanks Lon,<= /div>
I didn't see your answer until now because gmail (which I hat= e every day more) had hidden it.

I'll see what= I can find in the logs, although "start" works fine, why would &= quot;stop" be different ?


On Tue, Oct 5, 2021 = at 11:10 PM Lon Varscsak <webobjects-dev@wocommunity.org> wrote:
Look i= n your application log, do you see messages about not being able to communi= cate with monitor?=C2=A0 I found this problem happens if I don't have J= avaXML as part of my project (or classpath defined to whatever the xml jars= are).

-Lon

On Tue, Oct 5, 2021 at 1:43 PM Valerio = Luccio <webobjects-dev@wocommunity.org> wrote:
=20 =20 =20

I recently ported my WebObjects app from an old OS X server to a CentOS 8 server.

The WOMonitor on CentOS allows me to configure= the app and start it, but it will not stop it (I end up doing with pkill from command line) and the Auto-Recover does not work. I also tried from command line using curl to communicate to WOMonitor, it does the info and start correctly, but it will not stop the app.

I&#= 39;ve looked at the log file for the WOMonitor, but there was nothing useful.

Any ideas ?

Thanks in advance,

--
Valerio Luccio =C2=A0=C2=A0=C2=A0
High Performance Computing =C2=A0=C2=A0=C2=A0
New York University =C2=A0=C2=A0=C2=A0 New York, NY 10003

"In an open world, who needs windows or gates ?"= ;


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

"In an open world, who needs windows or gates ?"= ;



--
<= table style=3D"color:gray" cellspacing=3D"0" cellpadding=3D"0"><= td>Valerio Luccio =C2=A0=C2=A0=C2=A0
High Performance Computing =C2=A0=C2=A0=C2=A0 10 Astor Place, Room 415 New York University =C2=A0=C2=A0=C2=A0 New York, NY 10003

"In an open world, who needs windows or gates ?"= ;
--00000000000010a27805cf02741a--