From tomcat-dev-return-30858-qmlist-jakarta-archive-tomcat-dev=nagoya.apache.org@jakarta.apache.org Fri Jun 20 04:23:43 2003 Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 48155 invoked from network); 20 Jun 2003 04:23:42 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 20 Jun 2003 04:23:42 -0000 Received: (qmail 16034 invoked by uid 97); 20 Jun 2003 04:26:11 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 16027 invoked from network); 20 Jun 2003 04:26:11 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 20 Jun 2003 04:26:11 -0000 Received: (qmail 47334 invoked by uid 500); 20 Jun 2003 04:23:35 -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 47321 invoked from network); 20 Jun 2003 04:23:35 -0000 Received: from victor.wilshire.com (209.0.86.70) by daedalus.apache.org with SMTP; 20 Jun 2003 04:23:35 -0000 Received: from thunderbird.wilshire.com (thunderbird.wilshire.com [192.168.14.20]) by victor.wilshire.com (8.12.3/8.12.3/Debian-6.4) with ESMTP id h5K4NjAu012758 for ; Thu, 19 Jun 2003 21:23:45 -0700 Received: from oemcomputer (lsanca2-ar30-4-43-179-210.lsanca2.dsl-verizon.net [4.43.179.210]) (authenticated bits=0) by thunderbird.wilshire.com (8.12.9/8.12.9) with ESMTP id h5K4NiVF001211 for ; Thu, 19 Jun 2003 21:23:45 -0700 (PDT) Message-ID: <005a01c336e5$195027c0$d2b32b04@dslverizon.net> From: "Bill Barker" To: "Tomcat Developers List" Subject: commons-sandbox/daemon Date: Thu, 19 Jun 2003 21:33:28 -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 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archived: msg.XXfUUGDm@thunderbird X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Ok, yes I know that this should go to commons-dev, but I don't monitor that list as closely and all of the active developers hang-out here. I would like to make some changes to native/unix/native, and (keeping with commons conventions) should ask first. I already have commons-sandbox karma, so that's not an issue. 1) I want to call setsid (on platforms that support it) after the detach, since evil things happen if I don't (at least on RH Linux). 2) I want to add a -outfile and -errfile to the config options (consistant with procrun, and both defaulting to /dev/null). stdin will get redirected to /dev/null, and stdout & stderr will get redirected to the values of the variables. If I can get it to work, I'd also like to add the special values "&1" and "&2" to simulate "2>&1". As it stands now, manually stopping and starting Tomcat with jsvc hangs my ssh session on logout, since it still has open files to the pty. 3) Modify Tomcat.sh to reflect the changes in 2) (e.g. add: -outfile $CATALINA_HOME/logs/catalina.out \ -errfile &1 \ ). --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org