Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 48457 invoked from network); 1 Jul 2002 22:13:50 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by 209.66.108.5 with SMTP; 1 Jul 2002 22:13:50 -0000 Received: (qmail 23880 invoked by uid 97); 1 Jul 2002 22:14:00 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 23862 invoked by uid 97); 1 Jul 2002 22:14:00 -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 23849 invoked by uid 98); 1 Jul 2002 22:13:59 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Authentication-Warning: costinm.sfo.covalent.net: costin owned process doing -bs Date: Mon, 1 Jul 2002 15:12:36 -0700 (PDT) From: costinm@covalent.net X-X-Sender: costin@costinm.sfo.covalent.net To: Tomcat Developers List Subject: RE: Jk2 shutdown In-Reply-To: <80F5674514B4D311BAFC0040F6A45EEE2CA959@ntserver> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N On Mon, 1 Jul 2002, Ignacio J. Ortega wrote: > > De: costinm@covalent.net [mailto:costinm@covalent.net] > > Enviado el: 1 de julio de 2002 23:16 > > > Can we move the stdout/stderr redirection to some static util > > method, in AprImpl ? > > Any reason to so? i think this would be and overkill, i think pasing the > file names as properties is the cleanest way.., in fact i like much more > this way, than the way i did it.. worker.jni would call AprImpl and have System.out, System.err redirected. This will allow us to execute any existing java program, without the need to change it to interpret some system properties or do anything special. Well, the current code is not doing that - we do call static void main( String args[], String stdout, String stderr ). I personally think we should call the 'real' main(String args[]), there is little value in creating another startup mechanism. Costin -- To unsubscribe, e-mail: For additional commands, e-mail: