Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 71078 invoked from network); 25 Nov 2005 01:05:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Nov 2005 01:05:23 -0000 Received: (qmail 20715 invoked by uid 500); 25 Nov 2005 01:05:22 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 20701 invoked by uid 500); 25 Nov 2005 01:05:22 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 20690 invoked by uid 99); 25 Nov 2005 01:05:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2005 17:05:22 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ammulder@gmail.com designates 64.233.162.198 as permitted sender) Received: from [64.233.162.198] (HELO zproxy.gmail.com) (64.233.162.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2005 17:06:53 -0800 Received: by zproxy.gmail.com with SMTP id 9so570607nzo for ; Thu, 24 Nov 2005 17:05:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ShIs8xvWJCQUwkBZUnpoliwNoZNmd55JR9xMwUaqHURhIRgzPsN7U7i5twlpUGBrShkiljeS0p/Ud0TFJBEcOs1PgmDbGb747NuwIb0m8PtwKRpn16+LiQ7Edie2JRdGGa6AtxZz2eOibC9ZRNMnywRqTcgdALg/GqOiSkFGqM0= Received: by 10.37.22.79 with SMTP id z79mr754823nzi; Thu, 24 Nov 2005 17:05:00 -0800 (PST) Received: by 10.37.13.69 with HTTP; Thu, 24 Nov 2005 17:05:00 -0800 (PST) Message-ID: <74e15baa0511241705p261387fdqd4792b98b5b4ddda@mail.gmail.com> Date: Thu, 24 Nov 2005 20:05:00 -0500 From: Aaron Mulder Sender: ammulder@gmail.com To: user@geronimo.apache.org Subject: Re: Messing with the terminal In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Does it help to put the "2>&1" before the "> dump"? Also I think you should be OK with just "> dump" as opposed to "1> dump". So : java -jar bin/deployer.jar deploy plan.xml 2>&1 >dump Aaron On 11/24/05, Guglielmo.Lichtner@instinet.com wrote: > > I am having extreme difficulty capturing stderr and stdout to redirect to > the file when I do this: > > java -jar bin/deployer.jar deploy 1>dump 2>&1 > > I have even tried putting it in a shell script and even putting { } aroun= d > it (which should have made no difference anyway). > > As a result it is impossible for me to capturing a big stack trace which = is > coming out. > > Is this behavior intended? > > ***************************************************************** > <<>> > > In compliance with applicable rules and regulations, Instinet > reviews and archives incoming and outgoing email communications, > copies of which may be produced at the request of regulators. > This message is intended only for the personal and confidential > use of the recipients named above. If the reader of this email > is not the intended recipient, you have received this email in > error and any review, dissemination, distribution or copying is > strictly prohibited. If you have received this email in error, > please notify the sender immediately by return email and > permanently delete the copy you received. > > Instinet accepts no liability for any content contained in the > email, or any errors or omissions arising as a result of email > transmission. Any opinions contained in this email constitute > the sender's best judgment at this time and are subject to change > without notice. Instinet does not make recommendations of a > particular security and the information contained in this email > should not be considered as a recommendation, an offer or a > solicitation of an offer to buy and sell securities. > > ***************************************************************** >