Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 16342 invoked from network); 21 Feb 2006 21:58:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Feb 2006 21:58:27 -0000 Received: (qmail 26310 invoked by uid 500); 21 Feb 2006 21:58:21 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 26102 invoked by uid 500); 21 Feb 2006 21:58:20 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 26090 invoked by uid 99); 21 Feb 2006 21:58:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 13:58:20 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [216.17.130.186] (HELO mail.mhsoftware.com) (216.17.130.186) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 13:58:19 -0800 Received: from localhost (localhost [127.0.0.1]) by mail.mhsoftware.com (Postfix) with ESMTP id D5CC61CDF3; Tue, 21 Feb 2006 14:57:58 -0700 (MST) Received: from mail.mhsoftware.com ([127.0.0.1]) by localhost (hagrid [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24142-06; Tue, 21 Feb 2006 14:57:58 -0700 (MST) Received: from emp00 (c-24-8-34-101.hsd1.co.comcast.net [24.8.34.101]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.mhsoftware.com (Postfix) with ESMTP id 315B11C19D; Tue, 21 Feb 2006 14:57:58 -0700 (MST) From: "George Sexton" To: "'George Sexton'" , "'Tomcat Developers List'" Subject: RE: never say never... Date: Tue, 21 Feb 2006 14:57:57 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcY3A6F3+7LuLgejRWu6Xb28mrBLYwAB/6DgAAmH/VA= In-Reply-To: <002301c6370d$7c90ba40$fe00a8c0@emp00> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-Id: <20060221215758.315B11C19D@mail.mhsoftware.com> X-Virus-Scanned: amavisd-new at mhsoftware.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Never mind. This isn't worth the heart-ache and I'm probably wrong about workdir being defined in terms of tempdir. I made this probably wrong assumption by looking at the startup scripts . George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -----Original Message----- > From: George Sexton [mailto:gsexton@mhsoftware.com] > Sent: Tuesday, February 21, 2006 10:37 AM > To: 'Tomcat Developers List' > Subject: RE: never say never... > > > > > > -----Original Message----- > > From: Mladen Turk [mailto:mturk@apache.org] > > Sent: Tuesday, February 21, 2006 4:48 AM > > To: Tomcat Developers List > > Subject: Re: never say never... > > > > > http://issues.apache.org/bugzilla/show_bug.cgi?id=38352 > > > > > > > From your bz report: > > > > > ... > > > I think to be compliant with the spec, this must be allowed. > > > ... > > > Again, I think the spec requires this. > > > ... > > > > > > So, why would anyone even spend a single microsecond to look at > > the patch if *you* could not guarantee that the patch is > > compliant with the specs? > > I guess this is my mistake, for trying to sound humble. I was > trying to be RESPECTFUL. I'll say it PLAINLY. > > Servlet Specification 2.4 says: > > SRV.3.7.1 TEMPORARY WORKING DIRECTORYS > > A temporary storage directory is required for each servlet > context. Servlet > containers must provide a private temporary directory for > each servlet context, and > make it available via the javax.servlet.context.tempdir > context attribute. > > > This just flat says that it must be there, and it is a > working directory, which implies its writable. > > > > > > > I applaud to your willing to contribute, but if you wish to > > do that, and eventually become a member of the elite, you must > > follow some rules, and the first one, like in any company is to > > respect your colleagues. > > Respect is a two way street. When someone like Bill Barker > creates a logic puzzle as blatantly wrong as he did, then > what level of respect is required? > > Specifically, Bill Barker's comments: > > >> Don't see the need. If you depend on this, your app is > non-portable since > >> there is no requirement that javax.servlet.context.tempdir > has any relation to > >>java.io.tmpdir. In fact, a servlet container is perfectly > free to set > >> java.io.tmpdir to /dev/null if it wants. > > >> > Directory specified by java.io.tmpdir (which is what > tomcat points > >> > javax.servlet.context.tempdir to) is now read, write, > delete. Again, I think > >> the > >> > spec requires this. > > I was fixing an implementation specific issue. The spec says > that the container MUST make temporary working directories available. > > The IMPLEMENTATION that tomcat uses is to set java.io.tempdir > and javax.servlet.context.tempdir > > So, my making that writable fixes an implementation specific > issue for tomcat. I'll say it again in case I wasn't clear. > > 1) The spec says javax.servlet.context.tempdir must be a > working directory > 2) TOMCAT sets that value to the value of java.io.tmpdir > > THEREFORE > > FOR THE TOMCAT IMPLEMENTATION > > java.io.tmpdir MUST BE WRITABLE. > > So, in short. The ELITE should spend a little more time > thinking about things instead of just reflexively trashing > people. That is respect. > > George Sexton > MH Software, Inc. > http://www.mhsoftware.com/ > Voice: 303 438 9585 > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org