From petede@sac.sfbay.sun.com Thu Oct 15 08:56:57 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9FFuvPq023817
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 15 Oct 2009 08:56:57 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id n9FFuu5P010854;
	Thu, 15 Oct 2009 08:56:57 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRK0061BCAV9900@nwk-avmta-2.sfbay.sun.com>; Thu,
 15 Oct 2009 08:56:55 -0700 (PDT)
Received: from dm-sfbay-01.sfbay.sun.com ([129.145.155.118])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRK00LS2CAUFK90@nwk-avmta-2.sfbay.sun.com>; Thu,
 15 Oct 2009 08:56:54 -0700 (PDT)
Received: from sac.sfbay.sun.com (sac.SFBay.Sun.COM [129.146.226.132])
	by dm-sfbay-01.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2)
 with ESMTP id n9FFurw8030285; Thu, 15 Oct 2009 08:56:53 -0700 (PDT)
Received: from sac.sfbay.sun.com (localhost [127.0.0.1])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9FFuqsD023812; Thu,
 15 Oct 2009 08:56:52 -0700 (PDT)
Received: (from petede@localhost)
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8/Submit) id n9FFuqTT023808; Thu,
 15 Oct 2009 08:56:52 -0700 (PDT)
Date: Thu, 15 Oct 2009 08:56:52 -0700 (PDT)
From: Peter Dennis <petede@sac.sfbay.sun.com>
Subject: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack timeout
 10/22/2009]
To: PSARC-ext@sun.com
Cc: Petr.Sumbera@sun.com
Message-id: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
Status: RO
Content-Length: 2698


Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
This information is Copyright 2009 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	 Tomcat6 example package and PID file
    1.2. Name of Document Author/Supplier:
	 Author:  Petr Sumbera
    1.3  Date of This Document:
	15 October, 2009
4. Technical Description
Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI
This information is Copyright 2009 Sun Microsystems
1. Introduction
    1.1. Project/Component Working Name:
	Tomcat6 example package and PID file 
    1.2. Name of Document Author/Supplier:
     Author:  Petr Sumbera
    1.3  Date of This Document:
    14 October, 2009
4. Technical Description

Summary:

Deliver a new Tomcat package SUNWtcat-examples, and allow Tomcat to create 
PID file. Minor binding is requested.

Background:

Tomcat in Solaris is delivered via two packages: SUNWtcatu and SUNWtcatr.
SUNWtcatr package contains example web application which serve for demo 
and learning purposes. It's not typical to have this web application 
running in production environment. There is no other way to
permanently disable it other than to remove the corresponding directory.

Currently, starting Tomcat on Solaris does not create a pid file.
This makes it impossible for future applications, such as Web Stack 
Enterprise Manager, to monitor Tomcat in the same manner as they
monitor other servers.

Proposal:

Move example web application and default Tomcat info home page to a
new package SUNWtcat-examples. This would allow the administrator to
add or remove the example applications as required without affecting
the production packages.

The moved directories are located in /var/tomcat6/webapps (declared 
as Uncommitted in the previous Tomcat 6 ARC case).

Allow Tomcat to create PID file at standard location: /var/run/tomcat6/pid.
tomcat6 directory is owned by webserverd so that Tomcat can write into it.

Interfaces:

NAME                        STABILITY    NOTES
/var/run/tomcat6/pid        Committed    PID file
SUNWtcat-examples	    Uncommitted	 Package name

References:

       PSARC 2008/711 - Tomcat 6
       PSARC 2008/090 - Additional Apache2 Modules
       PSARC 2002/009 - Jakarta Tomcat 4.0.1
       PSARC 2001/266 - Jakarta Tomcat for Apache
       PSARC 1999/542 - Apache for Solaris

6. Resources and Schedule
    6.4. Steering Committee requested information
       6.4.1. Consolidation C-team Name:
        SFW
    6.5. ARC review type: FastTrack
    6.6. ARC Exposure: open


6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		SFW
    6.5. ARC review type: FastTrack
    6.6. ARC Exposure: open


From danek.duvall@sun.com Thu Oct 15 09:11:46 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9FGBjmn024064
	for <psarc-ext@sac.sfbay.sun.com>; Thu, 15 Oct 2009 09:11:45 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n9FGBiWv005842
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Thu, 15 Oct 2009 10:11:45 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRK0040JCZKLW00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Thu, 15 Oct 2009 09:11:44 -0700 (PDT)
Received: from dm-sfbay-01.sfbay.sun.com ([129.145.155.118])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRK00KUVCZK3960@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Thu,
 15 Oct 2009 09:11:44 -0700 (PDT)
Received: from smelly.sfbay.sun.com (smelly.SFBay.Sun.COM [129.146.228.142])
	by dm-sfbay-01.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2)
 with ESMTP id n9FGBhMK054582; Thu, 15 Oct 2009 09:11:43 -0700 (PDT)
Received: from smelly.SFBay.Sun.COM (smelly [127.0.0.1])
	by smelly.sfbay.sun.com (8.14.3+Sun/8.14.3) with ESMTP id n9FGBhcw027527; Thu,
 15 Oct 2009 09:11:43 -0700 (PDT)
Received: (from dduvall@localhost)
	by smelly.SFBay.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n9FGBhYe027526; Thu,
 15 Oct 2009 09:11:43 -0700 (PDT)
Date: Thu, 15 Oct 2009 09:11:43 -0700
From: Danek Duvall <danek.duvall@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
To: Peter Dennis <petede@sac.sfbay.sun.com>
Cc: PSARC-ext@sun.com, Petr.Sumbera@sun.com
Message-id: <20091015161143.GT6806@smelly.SFBay.Sun.COM>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
User-Agent: Mutt/1.5.20 (2009-06-23)
Status: RO
Content-Length: 866

Peter Dennis wrote:

> Currently, starting Tomcat on Solaris does not create a pid file.  This
> makes it impossible for future applications, such as Web Stack Enterprise
> Manager, to monitor Tomcat in the same manner as they monitor other
> servers.

... which on Solaris should be via contracts and SMF, right?

> Allow Tomcat to create PID file at standard location: /var/run/tomcat6/pid.
> tomcat6 directory is owned by webserverd so that Tomcat can write into it.

Note that nothing below /var/run can be delivered as part of a package,
since the directory disappears at reboot, breaking the package.  It's not
clear from these materials if the path is simply being exported as a
committed interface for other projects to use if it exists, or whether it's
actually being delivered by the tomcat project when that software is
installed, but not running.

Danek

From Petr.Sumbera@sun.com Fri Oct 16 02:55:57 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9G9ttAD028487
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 16 Oct 2009 02:55:56 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n9G9tian001895
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 16 Oct 2009 17:55:55 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRL00C0VQ93ZE00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 16 Oct 2009 02:55:51 -0700 (PDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRL00MXEQ9278B0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 16 Oct 2009 02:55:50 -0700 (PDT)
Received: from fe-emea-10.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9G9tmNw000887	for
 <PSARC-ext@sun.com>; Fri, 16 Oct 2009 09:55:49 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KRL00700PM2D800@fe-emea-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 16 Oct 2009 10:55:43 +0100 (BST)
Received: from [85.160.55.137] ([unknown] [85.160.55.137])
 by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KRL00GM1Q8F2PG0@fe-emea-10.sun.com>; Fri,
 16 Oct 2009 10:55:38 +0100 (BST)
Date: Fri, 16 Oct 2009 11:55:25 +0200
From: Petr Sumbera <Petr.Sumbera@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <20091015161143.GT6806@smelly.SFBay.Sun.COM>
Sender: Petr.Sumbera@sun.com
To: Danek Duvall <Danek.Duvall@sun.com>
Cc: Peter Dennis <petede@sac.sfbay.sun.com>, PSARC-ext@sun.com
Message-id: <4AD8430D.1080107@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM>
User-Agent: Thunderbird 2.0.0.22 (X11/20090909)
Status: RO
Content-Length: 1464

Danek Duvall napsal(a):
> Peter Dennis wrote:
> 
>> Currently, starting Tomcat on Solaris does not create a pid file.  This
>> makes it impossible for future applications, such as Web Stack Enterprise
>> Manager, to monitor Tomcat in the same manner as they monitor other
>> servers.
> 
> ... which on Solaris should be via contracts and SMF, right?

Correct. Tomcat pid file should be useful for application which are not 
primary developed just for Solaris or comes from other systems. Note 
also that Tomcat already supports pid files, we are just enabling this 
feature.

>> Allow Tomcat to create PID file at standard location: /var/run/tomcat6/pid.
>> tomcat6 directory is owned by webserverd so that Tomcat can write into it.
> 
> Note that nothing below /var/run can be delivered as part of a package,
> since the directory disappears at reboot, breaking the package.  It's not
> clear from these materials if the path is simply being exported as a
> committed interface for other projects to use if it exists, or whether it's
> actually being delivered by the tomcat project when that software is
> installed, but not running.

The original idea was to deliver /var/run/tomcat6 directory via package 
so that tomcat could write into it. It was wrong..

As tomcat6 is started with 'webservd' credential it's not able to write 
into /var/run. Therefore I'm proposing to change pid file location to:

/var/tomcat6/logs/pid        Committed    PID file

Petr

From danek.duvall@sun.com Fri Oct 16 06:10:07 2009
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9GDA6un001394
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 16 Oct 2009 06:10:06 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail2sca.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id n9GDA33A001248
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@Sun.COM>; Fri, 16 Oct 2009 06:10:06 -0700 (PDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRL0070JZ8S1U00@brm-avmta-1.central.sun.com> for PSARC-ext@Sun.COM
 (ORCPT PSARC-ext@Sun.COM); Fri, 16 Oct 2009 07:10:04 -0600 (MDT)
Received: from dm-sfbay-01.sfbay.sun.com ([129.145.155.118])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRL006WUZ8QYFB0@brm-avmta-1.central.sun.com> for
 PSARC-ext@Sun.COM (ORCPT PSARC-ext@Sun.COM); Fri,
 16 Oct 2009 07:10:02 -0600 (MDT)
Received: from smelly.SFBay.Sun.COM (smelly.SFBay.Sun.COM [129.146.228.142])
	by dm-sfbay-01.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2)
 with ESMTP id n9GDA1OO052870; Fri, 16 Oct 2009 06:10:01 -0700 (PDT)
Received: from smelly.SFBay.Sun.COM (smelly [127.0.0.1])
	by smelly.SFBay.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n9GDA15j008133; Fri,
 16 Oct 2009 06:10:01 -0700 (PDT)
Received: (from dduvall@localhost)
	by smelly.SFBay.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n9GDA13Z008132; Fri,
 16 Oct 2009 06:10:01 -0700 (PDT)
Date: Fri, 16 Oct 2009 06:10:01 -0700
From: Danek Duvall <danek.duvall@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <4AD8430D.1080107@sun.com>
To: Petr Sumbera <Petr.Sumbera@sun.com>
Cc: Peter Dennis <petede@sac.sfbay.sun.com>, PSARC-ext@sun.com
Message-id: <20091016131001.GC6389@smelly.SFBay.Sun.COM>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
User-Agent: Mutt/1.5.20 (2009-06-23)
Status: RO
Content-Length: 551

Petr Sumbera wrote:

> The original idea was to deliver /var/run/tomcat6 directory via
> package so that tomcat could write into it. It was wrong..
> 
> As tomcat6 is started with 'webservd' credential it's not able to
> write into /var/run. Therefore I'm proposing to change pid file
> location to:
> 
> /var/tomcat6/logs/pid        Committed    PID file

There's no way to get tomcat to start as root and setuid to webservd and/or
drop all unnecessary privileges?  Perhaps have the start method do the
work?  If not, then yeah, this is fine.

Danek

From Petr.Sumbera@sun.com Fri Oct 16 06:31:33 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9GDVWfX001507
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 16 Oct 2009 06:31:33 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n9GDVSG6000888
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 16 Oct 2009 14:31:31 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRM0040P08GG300@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.COM); Fri, 16 Oct 2009 06:31:28 -0700 (PDT)
Received: from gmp-eb-inf-1.sun.com ([192.18.6.21])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRM00IJK08EPI70@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.COM); Fri,
 16 Oct 2009 06:31:27 -0700 (PDT)
Received: from fe-emea-09.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9GDVQ0f021894	for
 <PSARC-ext@Sun.COM>; Fri, 16 Oct 2009 13:31:26 +0000 (GMT)
Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KRL00H00XIODK00@fe-emea-09.sun.com> for PSARC-ext@Sun.COM
 (ORCPT PSARC-ext@Sun.COM); Fri, 16 Oct 2009 14:31:06 +0100 (BST)
Received: from [85.160.55.137] ([unknown] [85.160.55.137])
 by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KRM00D3807ND820@fe-emea-09.sun.com>; Fri,
 16 Oct 2009 14:31:01 +0100 (BST)
Date: Fri, 16 Oct 2009 15:31:00 +0200
From: Petr Sumbera <Petr.Sumbera@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <20091016131001.GC6389@smelly.SFBay.Sun.COM>
Sender: Petr.Sumbera@sun.com
To: Danek Duvall <Danek.Duvall@sun.com>
Cc: Peter Dennis <petede@sac.sfbay.sun.com>, PSARC-ext@sun.com
Message-id: <4AD87594.3070202@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM>
User-Agent: Thunderbird 2.0.0.22 (X11/20090909)
Status: RO
Content-Length: 820

Danek Duvall napsal(a):
> Petr Sumbera wrote:
> 
>> The original idea was to deliver /var/run/tomcat6 directory via
>> package so that tomcat could write into it. It was wrong..
>>
>> As tomcat6 is started with 'webservd' credential it's not able to
>> write into /var/run. Therefore I'm proposing to change pid file
>> location to:
>>
>> /var/tomcat6/logs/pid        Committed    PID file
> 
> There's no way to get tomcat to start as root and setuid to webservd and/or
> drop all unnecessary privileges?  Perhaps have the start method do the
> work?  If not, then yeah, this is fine.

Currently Tomcat SMF manifest takes care of setting 'webservd' 
credentials and adding extra privilege 'net_privaddr'.

I think it's not possible to do this later in start method. I mean to 
combine 'su' command with 'ppriv'.

Petr


From storycrafter@gmail.com Fri Oct 16 06:37:11 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9GDbA5h001573
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 16 Oct 2009 06:37:10 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id n9GDb3DK011572;
	Fri, 16 Oct 2009 06:37:08 -0700 (PDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRM009090HVYI00@brm-avmta-1.central.sun.com>; Fri,
 16 Oct 2009 07:37:07 -0600 (MDT)
Received: from sca-ea-mail-3.sun.com ([192.18.43.21])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRM006D90HTYFE0@brm-avmta-1.central.sun.com>; Fri,
 16 Oct 2009 07:37:06 -0600 (MDT)
Received: from relay15i.sun.com
 (ip125.net129179-4.block1.us.syntegra.com [129.179.4.125])
	by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n9GDb5gQ003020;
 Fri, 16 Oct 2009 13:37:05 +0000 (GMT)
Received: from mmp14es.mmp.us.syntegra.com ([160.41.208.14] [160.41.208.14])
 by relay15i.sun.com with ESMTP id BT-MMP-4278308; Fri,
 16 Oct 2009 13:37:05 +0000 (Z)
Received: from relay15i.sun.com (relay15i.sun.com [129.179.4.125])
 by mmp14es.mmp.us.syntegra.com with ESMTP id BT-MMP-444488; Fri,
 16 Oct 2009 13:37:05 +0000 (Z)
Received: from mail-fx0-f214.google.com ([209.85.220.214] [209.85.220.214])
 by relay1i.sun.com with ESMTP id BT-MMP-25321437; Fri,
 16 Oct 2009 13:37:04 +0000 (Z)
Received: by fxm10 with SMTP id 10so2430368fxm.8 for <multiple recipients>;
 Fri, 16 Oct 2009 06:36:56 -0700 (PDT)
Received: by 10.204.156.19 with SMTP id u19mr1315572bkw.62.1255700216075; Fri,
 16 Oct 2009 06:36:56 -0700 (PDT)
Received: from ?172.16.202.89?
 (68-252-106-20.ded.ameritech.net [68.252.106.20]) by mx.google.com with ESMTPS
 id h2sm1602945fkh.36.2009.10.16.06.36.54 (version=TLSv1/SSLv3 cipher=RC4-MD5)
 ; Fri, 16 Oct 2009 06:36:55 -0700 (PDT)
Date: Fri, 16 Oct 2009 08:36:52 -0500
From: Mark Martin <storycrafter@gmail.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <4AD8430D.1080107@sun.com>
To: Petr Sumbera <Petr.Sumbera@sun.com>
Cc: Danek Duvall <Danek.Duvall@sun.com>, PSARC-ext@sun.com,
        Peter Dennis <petede@sac.sfbay.sun.com>
Message-id: <4AD876F4.2090706@gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma;        h=domainkey-signature:received:received:message-id:date:from
   :user-agent:mime-version:to:cc:subject:references:in-reply-to
 :content-type:content-transfer-encoding;
 bh=Ws8G7sb8YWRU/DKmmPAOwNBgrSBOX9ru7S70hGXAoz4=;
 b=Qqz7+U5Hbuo23LX4QYp5YsX0/uzKDSifzPrsi6svQOsgSOPp4iHNy1JoOQIPTo+YK8
 EHCG9176OolRJfrw++fLAPgrzLwIBKQPvc/nPJ0zVIASq1IQ8c6xutO4EvDmAT++0Gb5
 FdXVtKFsDb8rddTubM+Y1AOHPFki8ReDinCxo=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=message-id:date:from:user-agent:mime-version:to:cc:subject
 :references:in-reply-to:content-type:content-transfer-encoding;
 b=momuq5IYo4ZcOnvqbNdQNRIWrjDe0NPufc1aKKle33/I/2BNT6kfASewnX0LVKP+FE
 az2YKUgTcZ5YNz1xo4INwLnDsOwiss9DEIrCgyxk7TpBtNHzpPlrLZ0NQFjvZlKpDDzR
 yHIoauVof8o9LOUmm221v6GqQo2FgUgIQVST4=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
Status: RO
Content-Length: 736

Petr Sumbera wrote:
> Danek Duvall napsal(a):
>> Peter Dennis wrote:
>>
>>> Currently, starting Tomcat on Solaris does not create a pid file.  This
>>> makes it impossible for future applications, such as Web Stack 
>>> Enterprise
>>> Manager, to monitor Tomcat in the same manner as they monitor other
>>> servers.
>>
>> ... which on Solaris should be via contracts and SMF, right?
>
> Correct. Tomcat pid file should be useful for application which are 
> not primary developed just for Solaris or comes from other systems. 
> Note also that Tomcat already supports pid files, we are just enabling 
> this feature.
Could you please expand on this?  I couldn't find any example, outside 
of startup scripts, of consumers of this file.

From Petr.Sumbera@sun.com Fri Oct 16 07:00:36 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9GE0Zqt002320
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 16 Oct 2009 07:00:36 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n9GE0VrR020991
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 16 Oct 2009 15:00:35 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRM0060F1KW7H00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.COM); Fri, 16 Oct 2009 07:00:32 -0700 (PDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRM00IK31KVPOB0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.COM); Fri,
 16 Oct 2009 07:00:32 -0700 (PDT)
Received: from fe-emea-10.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9GE0UKT003412	for
 <PSARC-ext@Sun.COM>; Fri, 16 Oct 2009 14:00:31 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KRL00G00YSAO100@fe-emea-10.sun.com> for PSARC-ext@Sun.COM
 (ORCPT PSARC-ext@Sun.COM); Fri, 16 Oct 2009 15:00:28 +0100 (BST)
Received: from [85.160.55.137] ([unknown] [85.160.55.137])
 by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KRM00GGY1KIYNF0@fe-emea-10.sun.com>; Fri,
 16 Oct 2009 15:00:21 +0100 (BST)
Date: Fri, 16 Oct 2009 16:00:13 +0200
From: Petr Sumbera <Petr.Sumbera@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <4AD876F4.2090706@gmail.com>
Sender: Petr.Sumbera@sun.com
To: Mark Martin <storycrafter@gmail.com>
Cc: Danek Duvall <Danek.Duvall@sun.com>, PSARC-ext@sun.com,
        Peter Dennis <petede@sac.sfbay.sun.com>
Message-id: <4AD87C6D.3040002@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <4AD876F4.2090706@gmail.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090909)
Status: RO
Content-Length: 1001

Mark Martin napsal(a):
> Petr Sumbera wrote:
>> Danek Duvall napsal(a):
>>> Peter Dennis wrote:
>>>
>>>> Currently, starting Tomcat on Solaris does not create a pid file.  This
>>>> makes it impossible for future applications, such as Web Stack 
>>>> Enterprise
>>>> Manager, to monitor Tomcat in the same manner as they monitor other
>>>> servers.
>>>
>>> ... which on Solaris should be via contracts and SMF, right?
>>
>> Correct. Tomcat pid file should be useful for application which are 
>> not primary developed just for Solaris or comes from other systems. 
>> Note also that Tomcat already supports pid files, we are just enabling 
>> this feature.
> Could you please expand on this?  I couldn't find any example, outside 
> of startup scripts, of consumers of this file.

Sun GlassFish Web Stack (http://www.sun.com/software/webstack/index.xml) 
is also supported on RHEL. The new planned tool - Web Stack Enterprise 
Manager therefore should be able to work on both Solairs and Linux.

Petr

From storycrafter@gmail.com Fri Oct 16 08:32:52 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9GFWp26003756
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 16 Oct 2009 08:32:52 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n9GFWlAw022739;
	Fri, 16 Oct 2009 16:32:49 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRM00B0F5UOZ400@nwk-avmta-2.sfbay.sun.com>; Fri,
 16 Oct 2009 08:32:48 -0700 (PDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRM009VD5UNLC20@nwk-avmta-2.sfbay.sun.com>; Fri,
 16 Oct 2009 08:32:48 -0700 (PDT)
Received: from relay13i.sun.com
 (ip123.net129179-4.block1.us.syntegra.com [129.179.4.123])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n9GFD4hU002550; Fri,
 16 Oct 2009 15:32:47 +0000 (GMT)
Received: from mmp11es.mmp.us.syntegra.com ([160.41.208.11] [160.41.208.11])
 by relay13i.sun.com with ESMTP id BT-MMP-4289999; Fri,
 16 Oct 2009 15:32:43 +0000 (Z)
Received: from relay11i.sun.com (relay11i.sun.com [129.179.4.121])
 by mmp11es.mmp.us.syntegra.com with ESMTP id BT-MMP-7375182; Fri,
 16 Oct 2009 15:32:43 +0000 (Z)
Received: from mail-fx0-f214.google.com ([209.85.220.214] [209.85.220.214])
 by relay1i.sun.com with ESMTP id BT-MMP-17392360; Fri,
 16 Oct 2009 15:32:43 +0000 (Z)
Received: by mail-fx0-f214.google.com with SMTP id 10so2558559fxm.8 for
 <multiple recipients>; Fri, 16 Oct 2009 08:32:42 -0700 (PDT)
Received: by 10.204.8.199 with SMTP id i7mr1440262bki.37.1255707162588; Fri,
 16 Oct 2009 08:32:42 -0700 (PDT)
Received: from ?172.16.202.89?
 (68-252-106-20.ded.ameritech.net [68.252.106.20]) by mx.google.com with ESMTPS
 id 26sm1764704fks.32.2009.10.16.08.32.39 (version=TLSv1/SSLv3 cipher=RC4-MD5)
 ; Fri, 16 Oct 2009 08:32:40 -0700 (PDT)
Date: Fri, 16 Oct 2009 10:32:37 -0500
From: Mark Martin <storycrafter@gmail.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <4AD87C6D.3040002@sun.com>
To: Petr Sumbera <Petr.Sumbera@sun.com>
Cc: Danek Duvall <Danek.Duvall@sun.com>, PSARC-ext@sun.com,
        Peter Dennis <petede@sac.sfbay.sun.com>
Message-id: <4AD89215.1040905@gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma;        h=domainkey-signature:received:received:message-id:date:from
   :user-agent:mime-version:to:cc:subject:references:in-reply-to
 :content-type:content-transfer-encoding;
 bh=83G38KqgC7vEu583/Sx5uyVVIrR0IwXxellbXw3RO8Y=;
 b=fsF5OItrrt0q54P3g38AqzNxYvmFAueJN4Skv+mknx7CQH2NWNWRItjfrExhQuO2q0
 vyfWd8+q6wGl3Of3cZK+78TxoEkFKkjLq23NEejbu/5D8xFauNIlpTGFj2F2iiQCfGHL
 Bx5SmXaz8F3ei2jAR1Td2gMiS9XVzOCOVnyW0=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=message-id:date:from:user-agent:mime-version:to:cc:subject
 :references:in-reply-to:content-type:content-transfer-encoding;
 b=saxvNnPweieDpF36989ioc4+hDXTtT9NZrDOnxAqVSM4igSH/8cjq4NVCPdAE5EYZm
 nNqHQeo8HUYMPPfVnzC954ZNFgNa/Y+CNKapePDoyhf9yE9xjeECHkVZMjBDkRojUHle
 9Up9xiofZLigPydDOhHdZYR52trIzqDaCeMLo=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <4AD876F4.2090706@gmail.com> <4AD87C6D.3040002@sun.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
Status: RO
Content-Length: 1568

Petr Sumbera wrote:
> Mark Martin napsal(a):
>> Petr Sumbera wrote:
>>> Danek Duvall napsal(a):
>>>> Peter Dennis wrote:
>>>>
>>>>> Currently, starting Tomcat on Solaris does not create a pid file.  
>>>>> This
>>>>> makes it impossible for future applications, such as Web Stack 
>>>>> Enterprise
>>>>> Manager, to monitor Tomcat in the same manner as they monitor other
>>>>> servers.
>>>>
>>>> ... which on Solaris should be via contracts and SMF, right?
>>>
>>> Correct. Tomcat pid file should be useful for application which are 
>>> not primary developed just for Solaris or comes from other systems. 
>>> Note also that Tomcat already supports pid files, we are just 
>>> enabling this feature.
>> Could you please expand on this?  I couldn't find any example, 
>> outside of startup scripts, of consumers of this file.
>
> Sun GlassFish Web Stack 
> (http://www.sun.com/software/webstack/index.xml) is also supported on 
> RHEL. The new planned tool - Web Stack Enterprise Manager therefore 
> should be able to work on both Solairs and Linux.
Has the team considered writing a wrapper for that portion 
(instrumenting tomcat process status)? 

It is regrettable that although *Solaris has its own architecture for 
process/service management and instrumentation, the choice is to use the 
archaic Linux one.  If the known consumers were all upstream porting 
efforts I could easily buy the (oft lofted) cost argument for using the 
lowest common denominator.  But one of them is Sun 
XXproprietaryXX, which 
seems like an odd choice from this external view point.

From Petr.Sumbera@sun.com Fri Oct 16 09:00:05 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9GG05Vq004779
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 16 Oct 2009 09:00:05 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id n9GG01hl021978
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 16 Oct 2009 09:00:05 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRM0091H743PI00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 16 Oct 2009 09:00:03 -0700 (PDT)
Received: from gmp-eb-inf-1.sun.com ([192.18.6.21])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRM008UG7418M00@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 16 Oct 2009 09:00:02 -0700 (PDT)
Received: from fe-emea-10.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9GG00Z6008989	for
 <PSARC-ext@sun.com>; Fri, 16 Oct 2009 16:00:00 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KRM007006MDJB00@fe-emea-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 16 Oct 2009 16:59:52 +0100 (BST)
Received: from [85.160.55.137] ([unknown] [85.160.55.137])
 by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KRM005XG73N9P40@fe-emea-10.sun.com>; Fri,
 16 Oct 2009 16:59:49 +0100 (BST)
Date: Fri, 16 Oct 2009 17:59:47 +0200
From: Petr Sumbera <Petr.Sumbera@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <4AD89215.1040905@gmail.com>
Sender: Petr.Sumbera@sun.com
To: Mark Martin <storycrafter@gmail.com>
Cc: Danek Duvall <Danek.Duvall@sun.com>, PSARC-ext@sun.com,
        Peter Dennis <petede@sac.sfbay.sun.com>
Message-id: <4AD89873.5090500@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <4AD876F4.2090706@gmail.com> <4AD87C6D.3040002@sun.com>
 <4AD89215.1040905@gmail.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090909)
Status: RO
Content-Length: 925

Mark Martin napsal(a):
> Petr Sumbera wrote:
>> Mark Martin napsal(a):
>> Sun GlassFish Web Stack 
>> (http://www.sun.com/software/webstack/index.xml) is also supported on 
>> RHEL. The new planned tool - Web Stack Enterprise Manager therefore 
>> should be able to work on both Solairs and Linux.
> Has the team considered writing a wrapper for that portion 
> (instrumenting tomcat process status)?
> It is regrettable that although *Solaris has its own architecture for 
> process/service management and instrumentation, the choice is to use the 
> archaic Linux one.  If the known consumers were all upstream porting 
> efforts I could easily buy the (oft lofted) cost argument for using the 
> lowest common denominator.  But one of them is Sun 
> XXproprietaryXX, which 
> seems like an odd choice from this external view point.

I'm not part of Web Stack Enterprise Manager team and this case is not 
about it either.

Petr


From Nicolas.Williams@sun.com Fri Oct 16 10:34:34 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9GHYXLb008019
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 16 Oct 2009 10:34:33 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n9GHYPju061809;
	Fri, 16 Oct 2009 11:34:31 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRM00M01BGW6U00@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 16 Oct 2009 10:34:08 -0700 (PDT)
Received: from binky.Central.Sun.COM ([129.153.128.104])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRM008INBGW9060@nwk-avmta-1.sfbay.Sun.COM>; Fri,
 16 Oct 2009 10:34:08 -0700 (PDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1])
	by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n9GHUFSL002036;
 Fri, 16 Oct 2009 12:30:15 -0500 (CDT)
Received: (from nw141292@localhost)
	by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n9GHUFvY002035; Fri,
 16 Oct 2009 12:30:15 -0500 (CDT)
Date: Fri, 16 Oct 2009 12:30:15 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <4AD87594.3070202@sun.com>
To: Petr Sumbera <Petr.Sumbera@sun.com>
Cc: Danek Duvall <Danek.Duvall@sun.com>,
        Peter Dennis <petede@sac.sfbay.sun.com>, PSARC-ext@sun.com
Message-id: <20091016173015.GH892@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
X-Authentication-warning: binky.Central.Sun.COM: nw141292 set sender to
 Nicolas.Williams@sun.com using -f
User-Agent: Mutt/1.5.7i
Status: RO
Content-Length: 893

On Fri, Oct 16, 2009 at 03:31:00PM +0200, Petr Sumbera wrote:
> Danek Duvall napsal(a):
> >There's no way to get tomcat to start as root and setuid to webservd and/or
> >drop all unnecessary privileges?  Perhaps have the start method do the
> >work?  If not, then yeah, this is fine.
> 
> Currently Tomcat SMF manifest takes care of setting 'webservd' 
> credentials and adding extra privilege 'net_privaddr'.
> 
> I think it's not possible to do this later in start method. I mean to 
> combine 'su' command with 'ppriv'.

Don't use su(1M) -- SMF does not "login" services to their
method_context users, which su(1M) would do for you here, rather
inappropriately.

Use pcred(1) and ppriv(1).  Or better yet, keep things the way they are,
don't bother with the PID file, modify the PID file consumers to use SMF
interfaces to find the service process contract and its members' PIDs.

Nico
-- 

From peter.tribble@gmail.com Fri Oct 16 13:58:50 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9GKwoCX013273
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 16 Oct 2009 13:58:50 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n9GKwmsA037367;
	Fri, 16 Oct 2009 14:58:48 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRM00B0BKY03Q00@nwk-avmta-2.sfbay.sun.com>; Fri,
 16 Oct 2009 13:58:48 -0700 (PDT)
Received: from sca-ea-mail-3.sun.com ([192.18.43.21])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRM000J3KY0G3D0@nwk-avmta-2.sfbay.sun.com>; Fri,
 16 Oct 2009 13:58:48 -0700 (PDT)
Received: from relay42i.sun.com ([192.5.209.72])
	by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n9GKtwBf013994;
 Fri, 16 Oct 2009 20:58:47 +0000 (GMT)
Received: from mmp42es.mmp.us.syntegra.com ([160.41.221.11] [160.41.221.11])
 by relay42i.sun.com with ESMTP id BT-MMP-1382466; Fri,
 16 Oct 2009 20:58:43 +0000 (Z)
Received: from relay43i.sun.com (relay43i.sun.com [192.5.209.74])
 by mmp42es.mmp.us.syntegra.com with ESMTP id BT-MMP-6283068; Fri,
 16 Oct 2009 20:58:43 +0000 (Z)
Received: from mail-yx0-f203.google.com ([209.85.210.203] [209.85.210.203])
 by relay4i.sun.com with ESMTP id BT-MMP-8954210; Fri,
 16 Oct 2009 20:58:43 +0000 (Z)
Received: by yxe41 with SMTP id 41so3701134yxe.30 for <multiple recipients>;
 Fri, 16 Oct 2009 13:57:54 -0700 (PDT)
Received: by 10.101.126.10 with SMTP id d10mr2547015ann.147.1255726673972; Fri,
 16 Oct 2009 13:57:53 -0700 (PDT)
Date: Fri, 16 Oct 2009 21:57:53 +0100
From: Peter Tribble <peter.tribble@gmail.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
	timeout 10/22/2009]
In-reply-to: <4AD87594.3070202@sun.com>
To: Petr Sumbera <Petr.Sumbera@sun.com>
Cc: PSARC-ext@sun.com
Message-id: <df1347730910161357x6ac9e20crb16132d9ad64819e@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding;
 bh=0/vJCWngLqENsQppKH7p3Q4cXrhyuPDzb1g+uwT+I30=;
 b=asXM905N5zkmm+QW8iKDcurnMSZ1nJ+5w+2788P/Rl3aYNhQC2GBpgRkUj90DoeJkK
 +C+CWTSZ/ie71xBTCiAbTrGZxpdExFsdzx92ixeCv6rl+uRMzx0iw3H9ZHEMq24l/5Kk
 FnmoRclZZ7l3299xX7PipfY9xy66XZ4gNpw5Q=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type:content-transfer-encoding;
 b=ZORQp3pmjYJOSCXCGITEFB1ZHN0Et5PdqYGQCVNj9q3upaPTzoixvbIjl2s45snFoP
 tdqi3GdpgqrmgVI7gdQ3R/SGkLQ57XKt7U/jykXtwxjA+Wv/bi+gpjf7oYMoxFBDICoP
 UG3evWJH73Egw2Z7RGZlJ/cKGmFD/hq96npUE=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=0.0/5.0, scanned in 0.156sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id n9GKwoCX013273
Status: RO
Content-Length: 807

On Fri, Oct 16, 2009 at 2:31 PM, Petr Sumbera <Petr.Sumbera@sun.com> wrote:
>
>>> The original idea was to deliver /var/run/tomcat6 directory via
>>> package so that tomcat could write into it. It was wrong..
>>>
>>> As tomcat6 is started with 'webservd' credential it's not able to
>>> write into /var/run. Therefore I'm proposing to change pid file
>>> location to:
>>>
>>> /var/tomcat6/logs/pid        Committed    PID file

What if there are multiple instances of tomcat running? Don't you
need per-instance locations?

(On my systems, the pid file ends up in $CATALINA_BASE/logs,
which seems the obvious place to put it. That's the same as above
if CATALINA_BASE is /var/tomcat6, but allows for additional instances.)

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/


From Petr.Sumbera@sun.com Mon Oct 19 01:11:59 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9J8Bx5S027987
	for <psarc-ext@sac.sfbay.sun.com>; Mon, 19 Oct 2009 01:11:59 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n9J8BlL3063531
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Mon, 19 Oct 2009 02:11:59 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRR008035FTSA00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Mon, 19 Oct 2009 01:11:53 -0700 (PDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRR004Y95FSPG20@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Mon,
 19 Oct 2009 01:11:53 -0700 (PDT)
Received: from fe-emea-09.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9J8Bphk002366	for
 <PSARC-ext@sun.com>; Mon, 19 Oct 2009 08:11:52 +0000 (GMT)
Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KRR000004JOYX00@fe-emea-09.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Mon, 19 Oct 2009 09:11:40 +0100 (BST)
Received: from [129.157.71.67] ([unknown] [129.157.71.67])
 by fe-emea-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KRR00AG85FC0L80@fe-emea-09.sun.com>; Mon,
 19 Oct 2009 09:11:40 +0100 (BST)
Date: Mon, 19 Oct 2009 10:11:32 +0200
From: Petr Sumbera <Petr.Sumbera@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <20091016173015.GH892@Sun.COM>
Sender: Petr.Sumbera@sun.com
To: Nicolas Williams <Nicolas.Williams@sun.com>
Cc: Danek Duvall <Danek.Duvall@sun.com>,
        Peter Dennis <petede@sac.sfbay.sun.com>, PSARC-ext@sun.com
Message-id: <4ADC1F34.5030100@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
 <20091016173015.GH892@Sun.COM>
User-Agent: Thunderbird 2.0.0.22 (X11/20090908)
Status: RO
Content-Length: 1096

Nicolas Williams wrote:
> On Fri, Oct 16, 2009 at 03:31:00PM +0200, Petr Sumbera wrote:
>> Danek Duvall napsal(a):
>>> There's no way to get tomcat to start as root and setuid to webservd and/or
>>> drop all unnecessary privileges?  Perhaps have the start method do the
>>> work?  If not, then yeah, this is fine.
>> Currently Tomcat SMF manifest takes care of setting 'webservd' 
>> credentials and adding extra privilege 'net_privaddr'.
>>
>> I think it's not possible to do this later in start method. I mean to 
>> combine 'su' command with 'ppriv'.
> 
> Don't use su(1M) -- SMF does not "login" services to their
> method_context users, which su(1M) would do for you here, rather
> inappropriately.
> 
> Use pcred(1) and ppriv(1).  Or better yet, keep things the way they are,
> don't bother with the PID file, modify the PID file consumers to use SMF
> interfaces to find the service process contract and its members' PIDs.

Tomcat will be started as it's now (no su/pcred/ppriv). It will be just 
allowed to create pid file in /var/tomcat6/logs directory as it was 
already stated.

Petr


From Petr.Sumbera@sun.com Mon Oct 19 01:26:09 2009
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9J8Q9Z5028206
	for <psarc-ext@sac.sfbay.sun.com>; Mon, 19 Oct 2009 01:26:09 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by sunmail2sca.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id n9J8Q8Q4012009
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Mon, 19 Oct 2009 01:26:09 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRR00J2V63KYI00@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Mon, 19 Oct 2009 01:26:08 -0700 (PDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRR00MP963IYK90@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Mon,
 19 Oct 2009 01:26:07 -0700 (PDT)
Received: from fe-emea-10.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9J8Q4mx004800	for
 <PSARC-ext@sun.com>; Mon, 19 Oct 2009 08:26:06 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KRR009005TV3I00@fe-emea-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Mon, 19 Oct 2009 09:26:04 +0100 (BST)
Received: from [129.157.71.67] ([unknown] [129.157.71.67])
 by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KRR006Q163AHHF0@fe-emea-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Mon, 19 Oct 2009 09:25:58 +0100 (BST)
Date: Mon, 19 Oct 2009 10:25:54 +0200
From: Petr Sumbera <Petr.Sumbera@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <df1347730910161357x6ac9e20crb16132d9ad64819e@mail.gmail.com>
Sender: Petr.Sumbera@sun.com
To: Peter Tribble <peter.tribble@gmail.com>
Cc: PSARC-ext@sun.com
Message-id: <4ADC2292.6060008@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
 <df1347730910161357x6ac9e20crb16132d9ad64819e@mail.gmail.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090908)
Status: RO
Content-Length: 1221

Peter Tribble wrote:
> On Fri, Oct 16, 2009 at 2:31 PM, Petr Sumbera <Petr.Sumbera@sun.com> wrote:
>>>> The original idea was to deliver /var/run/tomcat6 directory via
>>>> package so that tomcat could write into it. It was wrong..
>>>>
>>>> As tomcat6 is started with 'webservd' credential it's not able to
>>>> write into /var/run. Therefore I'm proposing to change pid file
>>>> location to:
>>>>
>>>> /var/tomcat6/logs/pid        Committed    PID file
> 
> What if there are multiple instances of tomcat running? Don't you
> need per-instance locations?
> 
> (On my systems, the pid file ends up in $CATALINA_BASE/logs,
> which seems the obvious place to put it. That's the same as above
> if CATALINA_BASE is /var/tomcat6, but allows for additional instances.)

pid file will be created only when it's started via SMF. Tomcat started 
via SMF doesn't allow multiple instances as CATALINA_BASE is set to 
/var/tomcat6 and is not changeable.

To have more Tomcat SMF instances is beyond this case.

If ordinary user starts it own instance of Tomcat like this:
"CATALINA_BASE=/home/user/mytomcat /usr/tomcat6/bin/catalina.sh start"
Pid file is not created (unless CATALINA_PID environment variable is 
defined).

Petr


From Peter.Dennis@Sun.COM Fri Oct 23 06:29:43 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9NDTgIZ019336
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 23 Oct 2009 06:29:42 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n9NDTfcv003451
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 23 Oct 2009 21:29:41 +0800 (SGT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRY0060JYTGXI00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 06:29:40 -0700 (PDT)
Received: from gmp-eb-inf-1.sun.com ([192.18.6.21])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRY002UFYTFZJ50@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 23 Oct 2009 06:29:40 -0700 (PDT)
Received: from fe-emea-10.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9NDTcL0020194	for
 <PSARC-ext@sun.com>; Fri, 23 Oct 2009 13:29:39 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KRY00E00X7I9S00@fe-emea-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 14:29:37 +0100 (BST)
Received: from [192.168.1.100] ([unknown] [86.151.58.74])
 by fe-emea-10.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KRY00AHGYT8VID0@fe-emea-10.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 23 Oct 2009 14:29:32 +0100 (BST)
Date: Fri, 23 Oct 2009 14:29:32 +0100
From: petede <Peter.Dennis@Sun.COM>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <4ADC2292.6060008@sun.com>
Sender: Peter.Dennis@Sun.COM
To: Petr Sumbera <Petr.Sumbera@Sun.COM>, PSARC-ext@Sun.COM
Reply-to: Peter.Dennis@Sun.COM
Message-id: <4AE1AFBC.4090605@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
 <df1347730910161357x6ac9e20crb16132d9ad64819e@mail.gmail.com>
 <4ADC2292.6060008@sun.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090818)
Status: RO
Content-Length: 165

 From reading of the case - the questions raised appear to have been
answered by Petr and the time out has passed.

However I have not seen a +1 here..

Thanks
pete

From Mark.Carlson@sun.com Fri Oct 23 08:27:56 2009
Received: from sunmail5.uk.sun.com (sunmail5.UK.Sun.COM [129.156.85.165])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9NFRtSW022044
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 23 Oct 2009 08:27:55 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail5.uk.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.2) with ESMTP id n9NFRqTE010417
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 23 Oct 2009 16:27:54 +0100 (BST)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRZ00E0Z4AHB700@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 08:27:53 -0700 (PDT)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRZ002A84AGZCE0@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 23 Oct 2009 08:27:52 -0700 (PDT)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n9NFRqtc021128	for
 <PSARC-ext@sun.com>; Fri, 23 Oct 2009 15:27:52 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KRZ00H00382NK00@mail-amer.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 09:27:52 -0600 (MDT)
Received: from Macintosh-335.local ([unknown] [71.196.154.171])
 by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KRZ000W74AA3320@mail-amer.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 09:27:47 -0600 (MDT)
Date: Fri, 23 Oct 2009 09:27:46 -0600
From: "Mark A. Carlson" <Mark.Carlson@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <4AE1AFBC.4090605@sun.com>
Sender: Mark.Carlson@sun.com
To: Peter.Dennis@sun.com
Cc: Petr Sumbera <Petr.Sumbera@sun.com>, PSARC-ext@sun.com
Message-id: <4AE1CB72.40705@sun.com>
MIME-version: 1.0
Content-type: multipart/alternative;
 boundary="Boundary_(ID_AVDF5KxdFZHck38djA2bAg)"
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
 <df1347730910161357x6ac9e20crb16132d9ad64819e@mail.gmail.com>
 <4ADC2292.6060008@sun.com> <4AE1AFBC.4090605@sun.com>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
Status: RO
Content-Length: 3249

This is a multi-part message in MIME format.

--Boundary_(ID_AVDF5KxdFZHck38djA2bAg)
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT

a +1 is not a vote. It's original purpose was to indicate that
*in the absence of any visible review* - someone had reviewed
it and was OK with the case. Prior to this, cases were slipping
through approved without such an indication.

Unless the case mail file is empty (save for the project proposal)
you don't need a +1 to close the case.

Thanks,

-- mark

petede wrote:
> From reading of the case - the questions raised appear to have been
> answered by Petr and the time out has passed.
>
> However I have not seen a +1 here..
>
> Thanks
> pete
> _______________________________________________
> opensolaris-arc mailing list
> opensolaris-arc@opensolaris.org

-- 
<http://www.sun.com> 	* Mark A. Carlson *
Sr. Architect

*Systems Group*
Phone x69559 / 303-223-6139
Email Mark.Carlson@Sun.COM
	



--Boundary_(ID_AVDF5KxdFZHck38djA2bAg)
Content-type: text/html; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1">a +1 is not a vote. It's original purpose was to
indicate that<br>
*in the absence of any visible review* - someone had reviewed <br>
it and was OK with the case. Prior to this, cases were slipping<br>
through approved without such an indication.<br>
<br>
Unless the case mail file is empty (save for the project proposal)<br>
you don't need a +1 to close the case.<br>
<br>
Thanks,<br>
<br>
-- mark<br>
</font><br>
petede wrote:
<blockquote cite="mid:4AE1AFBC.4090605@sun.com" type="cite">From
reading of the case - the questions raised appear to have been
  <br>
answered by Petr and the time out has passed.
  <br>
  <br>
However I have not seen a +1 here..
  <br>
  <br>
Thanks
  <br>
pete
  <br>
_______________________________________________
  <br>
opensolaris-arc mailing list
  <br>
<a class="moz-txt-link-abbreviated" href="mailto:opensolaris-arc@opensolaris.org">opensolaris-arc@opensolaris.org</a>
  <br>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title></title>
<table border="0" cellpadding="0" cellspacing="0" width="519">
  <tbody>
    <tr valign="top">
      <td height="121" width="98"><a moz-do-not-send="true"
 href="http://www.sun.com"><img moz-do-not-send="true"
 src="http://www.sun.com/emrkt/sigs/6h_top.gif" border="0" height="92"
 width="98"></a></td>
      <td style="font-family: Arial; font-size: 10px;" height="121"
 width="249"><b> Mark A. Carlson </b><br>
Sr. Architect<br>
      <br>
      <b>Systems Group</b><br>
Phone x69559 / 303-223-6139<br>
Email <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:Mark.Carlson@Sun.COM">Mark.Carlson@Sun.COM</a><br>
      </td>
      <td style="font-family: Arial; font-size: 10px;" width="172"><img
 moz-do-not-send="true" src="http://www.sun.com/emrkt/sigs/q12.gif"
 height="118" width="172"></td>
    </tr>
  </tbody>
</table>
<div class="moz-signature"><br>
</div>
</div>
</body>
</html>

--Boundary_(ID_AVDF5KxdFZHck38djA2bAg)--

From Sebastien.Roy@sun.com Fri Oct 23 09:05:19 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9NG5IZ7022882
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 23 Oct 2009 09:05:19 -0700 (PDT)
Received: from nwk-avmta-1.SFBay.Sun.COM (nwk-avmta-1.SFBay.Sun.COM [129.146.11.74])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n9NG5CCH032842
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 23 Oct 2009 10:05:18 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-1.sfbay.Sun.COM by
 nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRZ00E1V60T2400@nwk-avmta-1.sfbay.Sun.COM> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 09:05:17 -0700 (PDT)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by nwk-avmta-1.sfbay.Sun.COM
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRZ00EL160SAND0@nwk-avmta-1.sfbay.Sun.COM> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 23 Oct 2009 09:05:17 -0700 (PDT)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n9NG5Gux010653	for
 <PSARC-ext@sun.com>; Fri, 23 Oct 2009 16:05:16 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KRZ00J005LPHS00@mail-amer.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 10:05:16 -0600 (MDT)
Received: from [192.168.1.2] ([unknown] [173.76.19.212])
 by mail-amer.sun.com (Sun Java(tm) System Messaging Server 7u2-7.04 64bit
 (built Jul  2 2009)) with ESMTPSA id <0KRZ00A8L60RGI50@mail-amer.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 23 Oct 2009 10:05:16 -0600 (MDT)
Date: Fri, 23 Oct 2009 12:05:14 -0400
From: Sebastien Roy <Sebastien.Roy@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <4AE1CB72.40705@sun.com>
Sender: Sebastien.Roy@sun.com
To: "Mark A. Carlson" <Mark.Carlson@sun.com>
Cc: Peter.Dennis@sun.com, PSARC-ext@sun.com,
        Petr Sumbera <Petr.Sumbera@sun.com>
Message-id: <1256313914.19805.112.camel@seb>
Organization: Sun Microsystems
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
 <df1347730910161357x6ac9e20crb16132d9ad64819e@mail.gmail.com>
 <4ADC2292.6060008@sun.com> <4AE1AFBC.4090605@sun.com> <4AE1CB72.40705@sun.com>
Status: RO
Content-Length: 684

On Fri, 2009-10-23 at 09:27 -0600, Mark A. Carlson wrote:
> a +1 is not a vote. It's original purpose was to indicate that
> *in the absence of any visible review* - someone had reviewed
> it and was OK with the case. Prior to this, cases were slipping
> through approved without such an indication.
> 
> Unless the case mail file is empty (save for the project proposal)
> you don't need a +1 to close the case.

A +1 from an ARC member indicates explicitly that the member reviewed
the case.  It's not clear from the mailing list discussion that this
actually happened (a non-empty mail file isn't necessarily an indication
that a member reviewed the case.)

That said, +1.

-Seb



From gdamore@sun.com Fri Oct 23 11:10:13 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9NIACNk025890
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 23 Oct 2009 11:10:12 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id n9NIACNs008904
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 23 Oct 2009 11:10:12 -0700 (PDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRZ00507BT06E00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 12:10:12 -0600 (MDT)
Received: from sca-es-mail-1.sun.com ([192.18.43.132])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRZ00GA2BSZV8F0@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 23 Oct 2009 12:10:11 -0600 (MDT)
Received: from fe-sfbay-10.sun.com ([192.18.43.129])
	by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9NIABx9004673	for
 <PSARC-ext@sun.com>; Fri, 23 Oct 2009 11:10:11 -0700 (PDT)
Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KRZ00300BMO4G00@fe-sfbay-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 11:10:11 -0700 (PDT)
Received: from [192.168.251.11] ([unknown] [76.93.15.33])
 by fe-sfbay-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KRZ00KTABSXAEG0@fe-sfbay-10.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 11:10:10 -0700 (PDT)
Date: Fri, 23 Oct 2009 11:10:09 -0700
From: "Garrett D'Amore" <gdamore@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <4AE1CB72.40705@sun.com>
Sender: Garrett.Damore@sun.com
To: "Mark A. Carlson" <Mark.Carlson@sun.com>
Cc: Peter.Dennis@sun.com, Petr Sumbera <Petr.Sumbera@sun.com>,
        PSARC-ext@sun.com
Message-id: <4AE1F181.8060601@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
 <df1347730910161357x6ac9e20crb16132d9ad64819e@mail.gmail.com>
 <4ADC2292.6060008@sun.com> <4AE1AFBC.4090605@sun.com> <4AE1CB72.40705@sun.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090909)
Status: RO
Content-Length: 1278

Mark A. Carlson wrote:
> a +1 is not a vote. It's original purpose was to indicate that
> *in the absence of any visible review* - someone had reviewed
> it and was OK with the case. Prior to this, cases were slipping
> through approved without such an indication.
>
> Unless the case mail file is empty (save for the project proposal)
> you don't need a +1 to close the case.

Huh?!?  While the purpose of the +1 is to indicate that review occurred, 
I've interpreted that it is still necessary because it indicates that 
the review occurred *and* the reviewer is satisfied with the results.

I don't think its a good idea to let cases get approved just because 
someone sends a comment about the case (which might or might not 
indicate a real review occurred.)

    - Garrett
>
> Thanks,
>
> -- mark
>
> petede wrote:
>> From reading of the case - the questions raised appear to have been
>> answered by Petr and the time out has passed.
>>
>> However I have not seen a +1 here..
>>
>> Thanks
>> pete
>> _______________________________________________
>> opensolaris-arc mailing list
>> opensolaris-arc@opensolaris.org
>
> -- 
> <http://www.sun.com> 	* Mark A. Carlson *
> Sr. Architect
>
> *Systems Group*
> Phone x69559 / 303-223-6139
> Email Mark.Carlson@Sun.COM
> 	
>
>


From Mark.Carlson@Sun.COM Fri Oct 23 18:12:41 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9O1Cero003477
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 23 Oct 2009 18:12:40 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id n9O1CdXL024400
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 23 Oct 2009 18:12:39 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRZ00901VD32100@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 18:12:39 -0700 (PDT)
Received: from brmea-mail-1.sun.com ([192.18.98.31])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRZ00JEFVD35860@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 23 Oct 2009 18:12:39 -0700 (PDT)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n9O1CcVP021327	for
 <PSARC-ext@sun.com>; Sat, 24 Oct 2009 01:12:38 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KRZ00100VAPJK00@mail-amer.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 19:12:38 -0600 (MDT)
Received: from Macintosh-335.local ([unknown] [71.196.154.171])
 by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KRZ00LN5VD2SY90@mail-amer.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 19:12:38 -0600 (MDT)
Date: Fri, 23 Oct 2009 19:12:38 -0600
From: "Mark A. Carlson" <Mark.Carlson@Sun.COM>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <4AE1F181.8060601@sun.com>
Sender: Mark.Carlson@Sun.COM
To: "Garrett D'Amore" <gdamore@Sun.COM>
Cc: PSARC-ext@Sun.COM, Petr Sumbera <Petr.Sumbera@Sun.COM>
Message-id: <4AE25486.7080000@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
 <df1347730910161357x6ac9e20crb16132d9ad64819e@mail.gmail.com>
 <4ADC2292.6060008@sun.com> <4AE1AFBC.4090605@sun.com> <4AE1CB72.40705@sun.com>
 <4AE1F181.8060601@sun.com>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
Status: RO
Content-Length: 1156

It's pretty obvious from the thread on *this* case that there was 
significant
review.

Are you asserting that it would still need a +1?

Then you are changing the definition of that we put in place when we
started this practice.

You are right that a simple comment from a non-member would not suffice
for review.

-- mark

Garrett D'Amore wrote:
> Mark A. Carlson wrote:
>> a +1 is not a vote. It's original purpose was to indicate that
>> *in the absence of any visible review* - someone had reviewed
>> it and was OK with the case. Prior to this, cases were slipping
>> through approved without such an indication.
>>
>> Unless the case mail file is empty (save for the project proposal)
>> you don't need a +1 to close the case.
>
> Huh?!?  While the purpose of the +1 is to indicate that review 
> occurred, I've interpreted that it is still necessary because it 
> indicates that the review occurred *and* the reviewer is satisfied 
> with the results.
>
> I don't think its a good idea to let cases get approved just because 
> someone sends a comment about the case (which might or might not 
> indicate a real review occurred.)
>
>    - Garrett


From gdamore@sun.com Fri Oct 23 18:47:42 2009
Received: from sunmail2sca.sfbay.sun.com (sunmail2sca.SFBay.Sun.COM [129.145.155.234])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9O1lgEY003598
	for <psarc-ext@sac.sfbay.sun.com>; Fri, 23 Oct 2009 18:47:42 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail2sca.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id n9O1lgY1026239
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Fri, 23 Oct 2009 18:47:42 -0700 (PDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KRZ0080JWZIBT00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 19:47:42 -0600 (MDT)
Received: from sca-es-mail-1.sun.com ([192.18.43.132])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KRZ0094ZWZHG0A0@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Fri,
 23 Oct 2009 19:47:41 -0600 (MDT)
Received: from fe-sfbay-09.sun.com ([192.18.43.129])
	by sca-es-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9O1lfxk013209	for
 <PSARC-ext@sun.com>; Fri, 23 Oct 2009 18:47:41 -0700 (PDT)
Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KRZ00I00WSWIA00@fe-sfbay-09.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 18:47:41 -0700 (PDT)
Received: from [192.168.251.11] ([unknown] [76.93.15.33])
 by fe-sfbay-09.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KRZ00EZ1WZGQK10@fe-sfbay-09.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Fri, 23 Oct 2009 18:47:41 -0700 (PDT)
Date: Fri, 23 Oct 2009 18:47:40 -0700
From: "Garrett D'Amore" <gdamore@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <4AE25486.7080000@sun.com>
Sender: Garrett.Damore@sun.com
To: "Mark A. Carlson" <Mark.Carlson@sun.com>
Cc: PSARC-ext@sun.com, Petr Sumbera <Petr.Sumbera@sun.com>
Message-id: <4AE25CBC.3030807@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
 <df1347730910161357x6ac9e20crb16132d9ad64819e@mail.gmail.com>
 <4ADC2292.6060008@sun.com> <4AE1AFBC.4090605@sun.com> <4AE1CB72.40705@sun.com>
 <4AE1F181.8060601@sun.com> <4AE25486.7080000@sun.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090909)
Status: RO
Content-Length: 1796

Mark A. Carlson wrote:
> It's pretty obvious from the thread on *this* case that there was 
> significant
> review.
>
> Are you asserting that it would still need a +1?
>
> Then you are changing the definition of that we put in place when we
> started this practice.

My understanding was that we needed a +1, in all cases.  But its 
possible that my understanding is wrong.  In any case, it should not be 
much effort for the member(s) that participated in the review to say 
"+1", and it disambiguates whether the member(s) really felt something 
was properly reviewed.

>
> You are right that a simple comment from a non-member would not suffice
> for review.

Member or non-member, I think a simple comment, or even a detailed 
discussion, doesn't necessarily mean that the case has converged.

I think +1 disambiguates this, and I'd recommend that if it isn't 
officially the policy now, then it should be.

    -- Garrett
>
> -- mark
>
> Garrett D'Amore wrote:
>> Mark A. Carlson wrote:
>>> a +1 is not a vote. It's original purpose was to indicate that
>>> *in the absence of any visible review* - someone had reviewed
>>> it and was OK with the case. Prior to this, cases were slipping
>>> through approved without such an indication.
>>>
>>> Unless the case mail file is empty (save for the project proposal)
>>> you don't need a +1 to close the case.
>>
>> Huh?!?  While the purpose of the +1 is to indicate that review 
>> occurred, I've interpreted that it is still necessary because it 
>> indicates that the review occurred *and* the reviewer is satisfied 
>> with the results.
>>
>> I don't think its a good idea to let cases get approved just because 
>> someone sends a comment about the case (which might or might not 
>> indicate a real review occurred.)
>>
>>    - Garrett
>


From Peter.Dennis@sun.com Wed Oct 28 08:01:45 2009
Received: from sunmail3mpk.sfbay.sun.com (sunmail3mpk.SFBay.Sun.COM [129.146.11.52])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9SF1jnd015256
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 28 Oct 2009 08:01:45 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by sunmail3mpk.sfbay.sun.com (8.13.8+Sun/8.13.8/ENSMAIL,v2.4) with ESMTP id n9SF1j52004139
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Wed, 28 Oct 2009 08:01:45 -0700 (PDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KS80023HCEWKK00@nwk-avmta-2.sfbay.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@Sun.COM); Wed, 28 Oct 2009 08:01:44 -0700 (PDT)
Received: from gmp-eb-inf-2.sun.com ([192.18.6.24])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KS800HJ2CEV3A90@nwk-avmta-2.sfbay.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@Sun.COM); Wed,
 28 Oct 2009 08:01:44 -0700 (PDT)
Received: from fe-emea-10.sun.com
 (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged))
	by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9SF1gN9022357	for
 <PSARC-ext@Sun.COM>; Wed, 28 Oct 2009 15:01:43 +0000 (GMT)
Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KS800F00CA2VF00@fe-emea-10.sun.com> for PSARC-ext@Sun.COM
 (ORCPT PSARC-ext@Sun.COM); Wed, 28 Oct 2009 15:01:41 +0000 (GMT)
Received: from [129.156.173.66] ([unknown] [129.156.173.66])
 by fe-emea-10.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KS800AXHCET6B90@fe-emea-10.sun.com> for PSARC-ext@Sun.COM
 (ORCPT PSARC-ext@Sun.COM); Wed, 28 Oct 2009 15:01:41 +0000 (GMT)
Date: Wed, 28 Oct 2009 15:01:41 +0000
From: Peter Dennis - Sustaining Engineer <Peter.Dennis@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <4AE25486.7080000@sun.com>
Sender: Peter.Dennis@sun.com
To: Petr Sumbera <Petr.Sumbera@sun.com>
Cc: PSARC-ext@sun.com
Message-id: <4AE85CD5.5010305@sun.com>
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
 <df1347730910161357x6ac9e20crb16132d9ad64819e@mail.gmail.com>
 <4ADC2292.6060008@sun.com> <4AE1AFBC.4090605@sun.com> <4AE1CB72.40705@sun.com>
 <4AE1F181.8060601@sun.com> <4AE25486.7080000@sun.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090929)
Status: RO
Content-Length: 98

I've marked this case as Closed Approved as the timer has
expired and +1's received.

Thanks
pete

From storycrafter@gmail.com Wed Oct 28 08:53:39 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9SFrcF1017431
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 28 Oct 2009 08:53:38 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n9SFrYmE006053;
	Wed, 28 Oct 2009 23:53:35 +0800 (SGT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KS80010XETA9100@brm-avmta-1.central.sun.com>; Wed,
 28 Oct 2009 09:53:34 -0600 (MDT)
Received: from sca-ea-mail-1.sun.com ([192.18.43.24])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KS8005B8ET9E0F0@brm-avmta-1.central.sun.com>; Wed,
 28 Oct 2009 09:53:33 -0600 (MDT)
Received: from relay42i.sun.com ([192.5.209.72])
	by sca-ea-mail-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n9SFrXDI021844;
 Wed, 28 Oct 2009 15:53:33 +0000 (GMT)
Received: from mms49es.mms.us.syntegra.com ([160.41.221.232] [160.41.221.232])
 by relay42i.sun.com with ESMTP id BT-MMP-2297432; Wed,
 28 Oct 2009 15:51:27 +0000 (Z)
Received: from relay43i.sun.com (relay43i.sun.com [192.5.209.74])
 by mms49es.mms.us.syntegra.com with ESMTP id BT-MMP-26224564; Wed,
 28 Oct 2009 15:51:27 +0000 (Z)
Received: from gv-out-0910.google.com ([216.239.58.185] [216.239.58.185])
 by relay4i.sun.com with ESMTP id BT-MMP-15383874; Wed,
 28 Oct 2009 15:51:27 +0000 (Z)
Received: by gv-out-0910.google.com with SMTP id l14so140869gvf.8 for <multiple
 recipients>; Wed, 28 Oct 2009 08:51:14 -0700 (PDT)
Received: by 10.216.86.11 with SMTP id v11mr89101wee.220.1256745074195; Wed,
 28 Oct 2009 08:51:14 -0700 (PDT)
Date: Wed, 28 Oct 2009 10:51:13 -0500
From: Mark Martin <storycrafter@gmail.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
	timeout 10/22/2009]
In-reply-to: <20091016173015.GH892@Sun.COM>
To: PSARC-ext@sun.com
Cc: Petr Sumbera <Petr.Sumbera@sun.com>,
        Peter Dennis <petede@sac.sfbay.sun.com>
Message-id: <e40c28290910280851t31929672u8e7a359d5f30d9f1@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com;
 s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references
 :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding;
 bh=On3JsY+OSv+FwSa7E7ae+oOEtjtsvoE+nA3ekaQmhAI=;
 b=kNe2yU1bl+eLSOvXhXokegXiSv9zdy72oJmr00fXv6KkoPGB9aMwTG+UAFOUJxEyRe
 V6oaUGkqDg/3gPf3jrfB1YPEDRHH4394rLWU1G6gTtRvm7sYEaq/uVKsOKadryFuKhXl
 UD7B7JIao2iAO59jcZbPHyhP63zHHFw9lV/1M=
DomainKey-Signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type:content-transfer-encoding;
 b=qE1h7feVNt//pdF4kHvWDCsyR6kMlBmtqH7r9+io0pIdmNkpTCJOmiUhbe5pWzeeRL
 zvr9caChKZ5G09ARlKzEkTEQkUoLzK9bfUsRm8+h6rVJI38tvurxTHBkp7vH/UpWQzYd
 OxpZCh6m4Wqu3QcNsE3GdQVq5RGdgSGjr/Mhw=
X-PMX-Version: 5.4.1.325704
X-Brightmail-Tracker: AAAAAA==
X-Antispam: No, score=-0.2/5.0, scanned in 0.069sec at (localhost [127.0.0.1])
	by smf-spamd v1.3.1 - http://smfs.sf.net/
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
 <20091016173015.GH892@Sun.COM>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sac.sfbay.sun.com id n9SFrcF1017431
Status: RO
Content-Length: 1559

On Fri, Oct 16, 2009 at 12:30 PM, Nicolas Williams
<Nicolas.Williams@sun.com> wrote:
> On Fri, Oct 16, 2009 at 03:31:00PM +0200, Petr Sumbera wrote:
>> Danek Duvall napsal(a):
>> >There's no way to get tomcat to start as root and setuid to webservd and/or
>> >drop all unnecessary privileges?  Perhaps have the start method do the
>> >work?  If not, then yeah, this is fine.
>>
>> Currently Tomcat SMF manifest takes care of setting 'webservd'
>> credentials and adding extra privilege 'net_privaddr'.
>>
>> I think it's not possible to do this later in start method. I mean to
>> combine 'su' command with 'ppriv'.
>
> Don't use su(1M) -- SMF does not "login" services to their
> method_context users, which su(1M) would do for you here, rather
> inappropriately.
>
> Use pcred(1) and ppriv(1).  Or better yet, keep things the way they are,
> don't bother with the PID file, modify the PID file consumers to use SMF
> interfaces to find the service process contract and its members' PIDs.

As this case appears to be closed, with the official +1 and all that,
I just want to make sure I understand what the message here is for
future teams.  With this case, it appears that is acceptable for teams
(internal or not) to use the PID file process-locating interface
instead of SMF's contracts, /*even when using SMF as the agent to run
the service*/.   Furthermore, it is acceptable for these PID files to
be put in arbitrary locations, or at least locations relatively local
to other project artifacts (instead of, say, a single common
system-wide location).


From liane.praza@sun.com Wed Oct 28 09:04:12 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9SG4B56017985
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 28 Oct 2009 09:04:11 -0700 (PDT)
Received: from nwk-avmta-2.sfbay.sun.com (nwk-avmta-2.SFBay.Sun.COM [129.145.155.6])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n9SG3wum031553;
	Wed, 28 Oct 2009 10:04:10 -0600 (MDT)
Received: from pmxchannel-daemon.nwk-avmta-2.sfbay.sun.com by
 nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KS80060XFAW1Q00@nwk-avmta-2.sfbay.sun.com>; Wed,
 28 Oct 2009 09:04:08 -0700 (PDT)
Received: from jurassic-x4600.sfbay.sun.com ([129.146.17.63])
 by nwk-avmta-2.sfbay.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KS80056OFATY000@nwk-avmta-2.sfbay.sun.com>; Wed,
 28 Oct 2009 09:04:05 -0700 (PDT)
Received: from [10.7.251.216] (punchin-lianep.SFBay.Sun.COM [10.7.251.216])
	by jurassic-x4600.sfbay.sun.com (8.14.3+Sun/8.14.3)
 with ESMTP id n9SG43NB264343; Wed, 28 Oct 2009 09:04:03 -0700 (PDT)
Date: Wed, 28 Oct 2009 09:04:03 -0700
From: Liane Praza <liane.praza@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <e40c28290910280851t31929672u8e7a359d5f30d9f1@mail.gmail.com>
To: Mark Martin <storycrafter@gmail.com>
Cc: PSARC-ext@sun.com, Petr Sumbera <Petr.Sumbera@sun.com>,
        Peter Dennis <petede@sac.sfbay.sun.com>
Message-id: <4AE86B73.4050003@sun.com>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
 <20091016173015.GH892@Sun.COM>
 <e40c28290910280851t31929672u8e7a359d5f30d9f1@mail.gmail.com>
User-Agent: Thunderbird 2.0.0.22 (X11/20090909)
Status: RO
Content-Length: 839

Mark Martin wrote:
> As this case appears to be closed, with the official +1 and all that,
> I just want to make sure I understand what the message here is for
> future teams.  With this case, it appears that is acceptable for teams
> (internal or not) to use the PID file process-locating interface
> instead of SMF's contracts, /*even when using SMF as the agent to run
> the service*/.   Furthermore, it is acceptable for these PID files to
> be put in arbitrary locations, or at least locations relatively local
> to other project artifacts (instead of, say, a single common
> system-wide location).

As I understood the previous discussion, the PID file is being 
offered for some explicit compatibility purposes.  That argument 
won't hold for many pieces of software and I hope/expect doesn't 
form a precedent in all cases.

liane

From Sebastien.Roy@sun.com Wed Oct 28 09:18:18 2009
Received: from newsunmail1brm.central.sun.com (newsunmail1brm.Central.Sun.COM [129.147.62.245])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9SGIILl018147
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 28 Oct 2009 09:18:18 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by newsunmail1brm.central.sun.com (8.13.7+Sun/8.13.7/ENSMAIL,v2.2) with ESMTP id n9SGI9HZ044102
	for <@sunmail2sca.sfbay.sun.com:PSARC-ext@sun.com>; Wed, 28 Oct 2009 10:18:17 -0600 (MDT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KS800309FYGSY00@brm-avmta-1.central.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 28 Oct 2009 10:18:16 -0600 (MDT)
Received: from brmea-mail-4.sun.com ([192.18.98.36])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KS8002E7FYF5Y10@brm-avmta-1.central.sun.com> for
 PSARC-ext@sun.com (ORCPT PSARC-ext@sun.com); Wed,
 28 Oct 2009 10:18:15 -0600 (MDT)
Received: from fe-amer-09.sun.com ([192.18.109.79])
	by brmea-mail-4.sun.com (8.13.6+Sun/8.12.9) with ESMTP id n9SGIFvh000475	for
 <PSARC-ext@sun.com>; Wed, 28 Oct 2009 16:18:15 +0000 (GMT)
Received: from conversion-daemon.mail-amer.sun.com by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 id <0KS800B00CWW0M00@mail-amer.sun.com> for PSARC-ext@sun.com
 (ORCPT PSARC-ext@sun.com); Wed, 28 Oct 2009 10:18:15 -0600 (MDT)
Received: from [129.148.174.103] ([unknown] [129.148.174.103])
 by mail-amer.sun.com
 (Sun Java(tm) System Messaging Server 7u2-7.04 64bit (built Jul  2 2009))
 with ESMTPSA id <0KS800DFPFY7U1G0@mail-amer.sun.com>; Wed,
 28 Oct 2009 10:18:08 -0600 (MDT)
Date: Wed, 28 Oct 2009 12:15:37 -0400
From: Sebastien Roy <Sebastien.Roy@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <4AE86B73.4050003@sun.com>
Sender: Sebastien.Roy@sun.com
To: Liane Praza <Liane.Praza@sun.com>
Cc: Mark Martin <storycrafter@gmail.com>, PSARC-ext@sun.com,
        Petr Sumbera <Petr.Sumbera@sun.com>,
        Peter Dennis <petede@sac.sfbay.sun.com>
Message-id: <1256746537.11585.160.camel@strat>
Organization: Sun Microsystems
MIME-version: 1.0
Content-type: text/plain; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
 <20091016173015.GH892@Sun.COM>
 <e40c28290910280851t31929672u8e7a359d5f30d9f1@mail.gmail.com>
 <4AE86B73.4050003@sun.com>
Status: RO
Content-Length: 981

On Wed, 2009-10-28 at 09:04 -0700, Liane Praza wrote:
> Mark Martin wrote:
> > As this case appears to be closed, with the official +1 and all that,
> > I just want to make sure I understand what the message here is for
> > future teams.  With this case, it appears that is acceptable for teams
> > (internal or not) to use the PID file process-locating interface
> > instead of SMF's contracts, /*even when using SMF as the agent to run
> > the service*/.   Furthermore, it is acceptable for these PID files to
> > be put in arbitrary locations, or at least locations relatively local
> > to other project artifacts (instead of, say, a single common
> > system-wide location).
> 
> As I understood the previous discussion, the PID file is being 
> offered for some explicit compatibility purposes.  That argument 
> won't hold for many pieces of software and I hope/expect doesn't 
> form a precedent in all cases.

That matches my understanding and expectations as well.

-Seb



From Nicolas.Williams@sun.com Wed Oct 28 09:23:02 2009
Received: from sunmail4.singapore.sun.com (sunmail4.Singapore.Sun.COM [129.158.71.19])
	by sac.sfbay.sun.com (8.13.8+Sun/8.13.8) with ESMTP id n9SGN0AT018280
	for <psarc-ext@sac.sfbay.sun.com>; Wed, 28 Oct 2009 09:23:01 -0700 (PDT)
Received: from brm-avmta-1.central.sun.com (brm-avmta-1.Central.Sun.COM [129.147.4.11])
	by sunmail4.singapore.sun.com (8.13.4+Sun/8.13.3/ENSMAIL,v2.2) with ESMTP id n9SGMuxI022528;
	Thu, 29 Oct 2009 00:22:58 +0800 (SGT)
Received: from pmxchannel-daemon.brm-avmta-1.central.sun.com by
 brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 id <0KS800401G689X00@brm-avmta-1.central.sun.com>; Wed,
 28 Oct 2009 10:22:56 -0600 (MDT)
Received: from binky.Central.Sun.COM ([129.153.128.104])
 by brm-avmta-1.central.sun.com
 (Sun Java System Messaging Server 6.2-3.04 (built Jul 15 2005))
 with ESMTP id <0KS8002JYG685R20@brm-avmta-1.central.sun.com>; Wed,
 28 Oct 2009 10:22:56 -0600 (MDT)
Received: from binky.Central.Sun.COM (localhost [127.0.0.1])
	by binky.Central.Sun.COM (8.14.3+Sun/8.14.3) with ESMTP id n9SGBSj9002458;
 Wed, 28 Oct 2009 11:11:28 -0500 (CDT)
Received: (from nw141292@localhost)
	by binky.Central.Sun.COM (8.14.3+Sun/8.14.3/Submit) id n9SGBSBQ002457; Wed,
 28 Oct 2009 11:11:28 -0500 (CDT)
Date: Wed, 28 Oct 2009 11:11:28 -0500
From: Nicolas Williams <Nicolas.Williams@sun.com>
Subject: Re: Tomcat6 example package and PID file [PSARC/2009/563 FastTrack
 timeout 10/22/2009]
In-reply-to: <e40c28290910280851t31929672u8e7a359d5f30d9f1@mail.gmail.com>
To: Mark Martin <storycrafter@gmail.com>
Cc: PSARC-ext@sun.com, Petr Sumbera <Petr.Sumbera@sun.com>,
        Peter Dennis <petede@sac.sfbay.sun.com>
Message-id: <20091028161127.GN1105@Sun.COM>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-PMX-Version: 5.4.1.325704
References: <200910151556.n9FFuqTT023808@sac.sfbay.sun.com>
 <20091015161143.GT6806@smelly.SFBay.Sun.COM> <4AD8430D.1080107@sun.com>
 <20091016131001.GC6389@smelly.SFBay.Sun.COM> <4AD87594.3070202@sun.com>
 <20091016173015.GH892@Sun.COM>
 <e40c28290910280851t31929672u8e7a359d5f30d9f1@mail.gmail.com>
X-Authentication-warning: binky.Central.Sun.COM: nw141292 set sender to
 Nicolas.Williams@sun.com using -f
User-Agent: Mutt/1.5.7i
Status: RO
Content-Length: 1739

On Wed, Oct 28, 2009 at 10:51:13AM -0500, Mark Martin wrote:
> As this case appears to be closed, with the official +1 and all that,
> I just want to make sure I understand what the message here is for
> future teams.  With this case, it appears that is acceptable for teams
> (internal or not) to use the PID file process-locating interface
> instead of SMF's contracts, /*even when using SMF as the agent to run
> the service*/.   Furthermore, it is acceptable for these PID files to
> be put in arbitrary locations, or at least locations relatively local
> to other project artifacts (instead of, say, a single common
> system-wide location).

I think there may never have been a stricture against creating PID files
in /var/run, even though SMF obviates the need for them, but even so,
this case should absolutely NOT be seen as establishing precedent that
it's OK to have PID files, because:

a) PID files can make it difficult to have multiple enabled instances of
   your service -- impossible, actually, if the PID file path is
   hardcoded;

b) PID files are not needed anyways, since you can always find your
   running services' processes by using process contracts;

c) PID files are ugly, and not the SMF way;

d) PID files often cause headaches, depending on the implementation
   (e.g., if one process crashes and leaves behind a PID file, and by
   the time a new process starts the old process' PID has been reused
   and the new instance then refuses to start);

e) ... I could probably go on, but let's not.  PID files are not a good
   mechanism at all.

(a) is fatal, IMO; PID files should be forbidden by default, and you
should have to seek ARC and c-team permission to integrate code that
uses PID files.

Nico
-- 

