Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 56458 invoked from network); 24 Mar 2004 21:40:21 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 24 Mar 2004 21:40:21 -0000 Received: (qmail 34819 invoked by uid 500); 24 Mar 2004 21:40:06 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 34776 invoked by uid 500); 24 Mar 2004 21:40:05 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 34760 invoked from network); 24 Mar 2004 21:40:05 -0000 Received: from unknown (HELO victor.wilshire.com) (209.0.86.70) by daedalus.apache.org with SMTP; 24 Mar 2004 21:40:05 -0000 Received: from harpy.wilshire.com (harpy.wilshire.com [192.168.1.58]) by victor.wilshire.com (8.12.3/8.12.3/Debian-6.6) with ESMTP id i2OLdpVa030829 for ; Wed, 24 Mar 2004 13:39:51 -0800 Received: from bbarkerxp (foundry.wilshire.com [192.168.1.129] (may be forged)) by harpy.wilshire.com (8.12.10/8.12.9) with SMTP id i2OLdpwY006973 for ; Wed, 24 Mar 2004 13:39:51 -0800 (PST) Message-ID: <012601c411e8$a9c40fe0$ec66a8c0@bbarkerxp> From: "Bill Barker" To: "Tomcat Developers List" References: <20040322232254.12820.qmail@nagoya.betaversion.org> <405F7C8E.8030802@apache.org> <4060B134.5000706@ptc.com> <4061AE53.7050608@ptc.com> <4061AFA6.20608@joedog.org> <4061B41A.5030801@ptc.com> <4061B657.8000403@ptc.com> <4061DEF9.5010604@ptc.com> Subject: Re: Tomcat 5's service.bat, etc. Date: Wed, 24 Mar 2004 13:40:44 -0800 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1080164392-16617-295" 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-Scanned-By: MIMEDefang 2.38 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------------=_1080164392-16617-295 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline ----- Original Message ----- From: "Jess Holle" To: "Tomcat Developers List" Sent: Wednesday, March 24, 2004 11:18 AM Subject: Tomcat 5's service.bat, etc. > The service.bat and tomcat.exe in Tomcat 5 have a number of issues as I > see it: > > 1. The new tomcat.exe (aka procrun) does not seem to reliably route > stdout and stderr to the specified files. > * Compare JavaService (aka Tomcat 4.1.x's tomcat.exe) stdout > and stderr treatment to procrun's. JavaService captures all > the startup stdout as well as System.out.println's, etc. > procrun does not. Procrun works fine with --Java=java. Yes, it needs work for --Java=c:\path\to\jvm.dll (known issue, with outstanding BZ entry :). > 2. Tomcat 5 does not include any documentation on how to use procrun > (or even that tomcat.exe is procrun). > 3. I have not managed to get procrun to target the "server" JVM (as > opposed to the client) in any reliable fashion. > * With JavaService this was achieved by targeting the > appropriate jvm.dll. The procrun docs say the same thing is > possible, but this does not work. This works fine for me with either --Java=java -JavaOptions=-server#... or with --Java=c:\path\to\server\jvm.dll. > 4. service.bat does not route as many arguments to procrun as what I > for one route to JavaService -- and thus it provides less > flexibility (especially with no documentation). > * For JavaService I provide heap sizing, etc, parameters, as > this is critical to any real use of Tomcat. > * Having built in support for passing JPDA debug args to the > JVM is also a must. So edit the service.bat file :). As usual, patches are always welcome ;-). > 5. service.bat does not provide any default handling of tools.jar. > * By default the resulting service can't compile JSP pages. > > Overall, service.bat and procrun feel like they're not ready for > production use -- which is fine as long as that's understood by the user > community. > > Personally, JavaService and an Ant script to produce the right > (enormous) command line for seem to do the trick nicely -- with Tomcat > 4.1.x and 5.0.x. > Whatever makes you happy ;-). > -- > Jess Holle > > ------------=_1080164392-16617-295 Content-Type: text/plain; name="disclaimer.txt" Content-Disposition: inline; filename="disclaimer.txt" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) 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. ------------=_1080164392-16617-295 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org ------------=_1080164392-16617-295--