From owner-freebsd-hackers Mon Jul 29 23:32:48 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DD2F37B400 for ; Mon, 29 Jul 2002 23:32:46 -0700 (PDT) Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 656E843E3B for ; Mon, 29 Jul 2002 23:32:42 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 17ZQYj-0007tO-00; Tue, 30 Jul 2002 00:32:41 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 17ZQYi-0007sw-00; Tue, 30 Jul 2002 00:32:41 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g6U6WXF85670; Tue, 30 Jul 2002 16:02:33 +0930 (CST) (envelope-from glewis) Date: Tue, 30 Jul 2002 16:02:33 +0930 From: Greg Lewis To: Vijay Patel Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: How to keep java code running after logout Message-ID: <20020730160232.A85648@misty.eyesbeyond.com> References: <20020730061600.95733.qmail@web12201.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020730061600.95733.qmail@web12201.mail.yahoo.com>; from talkwithpatel@yahoo.com on Mon, Jul 29, 2002 at 11:16:00PM -0700 X-Spam-Status: No, hits=-3.4 required=8.0 tests=IN_REP_TO version=2.31 X-Spam-Level: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 29, 2002 at 11:16:00PM -0700, Vijay Patel wrote: > Hi friends, > I have installed FreeBSD 4.5 on my machine. I am also > having 2 other machines running on linux. > We have developed a code in java which we need to run > in background for 24 hrs. In linux we use... > java Code1 & Can you try 'java Code1 >& /some/log &' and see what sort of a stack trace you get when the process dies? If you're using a bourne style shell then that would be 'java Code1 > /some/log 2>&1 &'. Its hard to tell what is going on without any sort of error message, there is no inbuilt reason the process should just die. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message