From owner-freebsd-java@FreeBSD.ORG Thu Jul 8 21:13:41 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E44816A4CE for ; Thu, 8 Jul 2004 21:13:41 +0000 (GMT) Received: from iota.root-servers.ch (iota.root-servers.ch [193.41.193.195]) by mx1.FreeBSD.org (Postfix) with SMTP id 0722A43D45 for ; Thu, 8 Jul 2004 21:13:38 +0000 (GMT) (envelope-from gabriel_ambuehl@buz.ch) Received: (qmail 82215 invoked from network); 8 Jul 2004 21:13:34 -0000 Received: from 80-218-104-238.dclient.hispeed.ch (HELO ga) (80.218.104.238) by 0 with SMTP; 8 Jul 2004 21:13:34 -0000 Date: Thu, 8 Jul 2004 23:13:36 +0200 From: Gabriel Ambuehl Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <557539983.20040708231336@buz.ch> To: Peter Schuller In-Reply-To: <200407082238.18150.peter.schuller@infidyne.com> References: <200407082238.18150.peter.schuller@infidyne.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Tomcat on FreeBSD hides command line? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gabriel_ambuehl@buz.ch List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2004 21:13:41 -0000 Hello Peter, Thursday, July 8, 2004, 10:38:18 PM, you wrote: > Hello, > for some reason Tomcat instances on FreeBSD 5.2.1 only show up as '(java)' in > top/ps (causing problems with scripting). I have not been able to reproduce > this behavior with anything else other than Tomcat, even if invoked in the > same context as catalina/tomcat. > Does anyone know how/why this is done, and is there a way to prevent it? I.e., > I want the full /path/to/java arg arg arg to be preserved. That's weird... In my case, I see the full path. However, I think tomcat generated a PID file somewhere so you wouldn't need to parse ps output. Also, I've found that tomcatXXctl where XX is the version of tomcat) works well for start/stop/restart of tomcat. Best regards, Gabriel