Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 61935 invoked from network); 9 Sep 2005 18:27:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Sep 2005 18:27:44 -0000 Received: (qmail 61575 invoked by uid 500); 9 Sep 2005 18:27:38 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 61317 invoked by uid 500); 9 Sep 2005 18:27:37 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 61304 invoked by uid 99); 9 Sep 2005 18:27:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2005 11:27:37 -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 [209.0.86.69] (HELO whiskey.wilshire.com) (209.0.86.69) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2005 11:27:49 -0700 Received: from harpy.wilshire.com (harpy.wilshire.com [192.168.1.58]) by whiskey.wilshire.com (8.13.4/8.12.3/Debian-6.6) with ESMTP id j89IRDoC021983 for ; Fri, 9 Sep 2005 11:27:13 -0700 Received: from bbarkerxp (foundry.wilshire.com [192.168.1.129]) by harpy.wilshire.com (8.12.10/8.12.3) with SMTP id j89IRDoG028415 for ; Fri, 9 Sep 2005 11:27:13 -0700 (PDT) Message-ID: <006401c5b56c$1949a780$7037a8c0@nt.wilshire.com> From: "Bill Barker" To: "Tomcat Developers List" References: Subject: Re: Small refactoring in Http11Processor Date: Fri, 9 Sep 2005 11:27:13 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Zantaz-Archived: whiskey Content-Disposition: inline X-Scanned-By: MIMEDefang 2.52 on 192.168.1.69 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "Costin Manolache" To: Sent: Thursday, September 08, 2005 10:56 PM Subject: Small refactoring in Http11Processor > Hi, > > I have a small patch, spliting the JMX-dependent code in > Http11Processor, i.e. the few lines of code dealing with the > registration of the thread pool and per thread data - and moving all > non-jmx code in a separate base class. > > I know Tomcat5 is heavily dependent on JMX, but the connector can be > used in other containers, or it can be used standalone. This small > change won't affect any functionality on tomcat - all methods are used > only for intialization anyway, not in the critical path. > > Please review and let me know if it's ok to commit the change. > It seems that the only thing this patch does is to allow you to exclude jmx.jar, so it's usefulness seems very minimal :). TC 3.3 & 4.1 already run very happily with the current code without JMX enabled. Something better would be a refactor that would remove the duplicated code between Http11Processor and Http11AprProcessor (which one doesn't do :). Of course, none of this is enough for me to veto your scratching an itch :). > Also, I would like to add another directory under j-t-c, with a build > file and few classes for a 'mini' experiment - i.e. using the connector > standalone, as a minimal http server, and also a target to build a > minimal servlet container as a single self-contained jar. We don't have > a sandbox, and j-t-c seems closest to that :-) > I agree with Mladen that this would work better if you could wait a couple of weeks until we are up on SVN. > Costin > This message is intended only for the use of the person(s) listed above as the intended recipient(s), and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not an intended recipient, you may not read, copy, or distribute this message or any attachment. If you received this communication in error, please notify us immediately by e-mail and then delete all copies of this message and any attachments. In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet is not secure. Do not send confidential or sensitive information, such as social security numbers, account numbers, personal identification numbers and passwords, to us via ordinary (unencrypted) e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org