geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <bruce.sny...@gmail.com>
Subject Re: Messing with the terminal
Date Fri, 25 Nov 2005 18:26:15 GMT
On 11/24/05, Guglielmo.Lichtner@instinet.com
<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 <plan> 1>dump 2>&1
>
> I have even tried putting it in a shell script and even putting { } around
> 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.

Why not just use tee?

http://www.opengroup.org/onlinepubs/007908799/xcu/tee.html

Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

The Castor Project
http://www.castor.org/

Apache Geronimo
http://geronimo.apache.org/

Mime
View raw message