Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 85554 invoked from network); 25 May 2006 14:04:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 May 2006 14:04:31 -0000 Received: (qmail 84150 invoked by uid 500); 25 May 2006 14:04:26 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 84104 invoked by uid 500); 25 May 2006 14:04:26 -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 84090 invoked by uid 99); 25 May 2006 14:04:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 07:04:26 -0700 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 [68.251.29.227] (HELO mail) (68.251.29.227) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2006 07:04:25 -0700 Received: from internet.dev.donnell.com (defrouter [68.251.29.225]) by mail.donnell.com (iPlanet Messaging Server 5.2 (built Feb 21 2002)) with SMTP id <0IZT008S9R32UL@mail.donnell.com> for dev@tomcat.apache.org; Thu, 25 May 2006 10:04:15 -0400 (EDT) Date: Thu, 25 May 2006 10:04:12 -0400 From: Mark Claassen Subject: RE: Binary build procedures In-reply-to: To: 'Tomcat Developers List' Message-id: <010401c68004$1967b7d0$19c909c0@K9> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Mailer: Microsoft Office Outlook 11 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Thread-index: AcZ/cb50Z++M33HuRLWBbypu8gXBmgAjsNAw X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Just out of curiosity, when you say above "if something goes wrong" do you mean with your stuff or with the Tomcat build? Here is an anecdote to describe what I mean. While using 5.0, we had problems with the CGIServlet. It would not handle uploads well at all. The problem was that the read was implemented with a single 'read(buffer)' where buffer was the size of the content. This works with small content lengths, but with larger ones it has problems. The correct method is, of course, something like: while (soFar < total) read(buffer,soFar,total-soFar) Anyway, I located the problem and fixed it. (I also submitted a bug report and it was immediately added into the 5.5 builds.) So, I believe the theory is that if we can build it from source, then we know that we have what we need to attempt to track down something that comes up. I, personally, am a bit fearful of the whole build process. The binary build of tomcat has been thoroughly tested, and I am going to try to shoe-string one together as best I can. In the anecdote described above, I actually started by downloading the source from the archives when we had the problem (at that point I was allowed to just used the binary builds). I then, instead of building a whole tomcat installation, made my own CGIServlet based on the Tomcat CGIServlet code. But, it was just a lucky break that the CGIServlet was just one file. (Heavier used pieces of Tomcat are undoubtedly more thoroughly tested and probably much harder for someone like me to patch.) Mark -----Original Message----- From: yoavshapira@gmail.com [mailto:yoavshapira@gmail.com] On Behalf Of Yoav Shapira Sent: Wednesday, May 24, 2006 4:36 PM To: Tomcat Developers List Subject: Re: Binary build procedures Hi, > As it turns out there is a second motivation for building everything > from source, and that is so if something goes wrong, we can find the > problem and fix it. If we go through all the hoops now, then we won't > have this additional problem when we are hurrying to fix and issue. Just out of curiosity, when you say above "if something goes wrong" do you mean with your stuff or with the Tomcat build? > In light of this, I was wondering if there was a way to not include > the eclipse stuff. Is there an option to use just the Sun JDK > compiler? I doesn't look like that is an option in the build.xml > file. However, even if it has to be included to make the build happy, > is there a runtime configuration for this? To be clear: when building Tomcat distributions, the Sun JDK compiler is used. The Eclipse compiler is used only to compile JSPs at runtime on a running Tomcat server. And yes, you can choose to use the Sun JDK compiler at runtime instead of the Eclipse one: RTFM on the "compiler" option at http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html. Yoav --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org