tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Clevenger" <>
Subject RE: win98 dos windows and logging
Date Sat, 02 Sep 2000 08:26:37 GMT
I'm running Windows ME here, so redirecting stderr is pretty much impossible
like it is on NT/2k as well, however, I use GNU Bash from the cygwin tools,
and that lets me do it.

(where my test writes to System.err)

BASH.EXE-2.02$ java -cp . foo > log.txt 2> err.txt

It's at least a workaround for the weak shell in Win95/98/ME


-----Original Message-----
From: Jon Stevens []
Sent: Saturday, September 02, 2000 12:48 AM
Subject: win98 dos windows and logging

Here is the problem:

I'm running Tomcat (latest CVS version) and my servlet is throwing a nasty
exception during startup. On Win98, the MS-DOS windows do not seem to have a
way to add a scrollbar to the right hand side (this is possible to do with
WinNT MS-DOS windows, but I can't figure out how to do it with Win98, please
tell me if you know how!), so what happens is that the exception prints to
the screen and scrolls right off the top of the window. Thus, I cannot see
the top of the exception and I can't figure out the reason for my bug.

This would be fine if the output ended up in a file somewhere, but it
doesn't. So, I have tried all sorts of things like piping the output through
more (that doesn't seem to do the job). I have also tried to mess with
Tomcat's server.xml and logging features and that doesn't seem to put the
output of this particular exception into a file for some reason.

Of course moving to Unix isn't part of the solution right now so don't bring
that up please. I want this to work on my Win98 box and I'm sure that other
Tomcat users will as well.

Anyone have a suggestion on how to fix this problem? All I want is a copy of
the output. :-(



--    |      | |       |

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message