tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Kirkpatrick" <>
Subject RE: stupid Windows question
Date Tue, 15 Aug 2000 23:18:49 GMT
I've seen a lot of answers to this question, but only one that will help
you, Jason.  I'll reiterate the answer, so as to allow you to avoid some

The scroll bars and dos prompt stuff all will not help you, as the startup
script, "startup.bat" launches a second window before starting Jakarta.
This window goes away as soon as Jakarta encounters an error (it's probably
that you do not have JAVA_HOME, or possibly TOMCAT_HOME, defined in your
environment).  Thus, these solutions will not help.

To see the output from Jakarta after it dies, change the following line:

start java %TOMCAT_OPTS% -classpath %CP% -Dtomcat.home="%TOMCAT_HOME%"
org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9


java %TOMCAT_OPTS% -classpath %CP% -Dtomcat.home="%TOMCAT_HOME%"
org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9

All I did is remove "start" from the beginning of this line.  This will
start jakarta in the same window in which the script is run.  This will
allow you to see the error messages Jakarta displays.

You may have to run the startup script from within a DOS window (I can't
remember if the window goes away after the error if you launch it from
within Windows).

I hope this helps, and I hope it saves you some time pursuing other avenues.


-----Original Message-----
From: Randy Murrish []
Sent: Tuesday, August 15, 2000 2:07 PM
Subject: Re: stupid Windows question


Others have given you answers about the dos prompt and scroll bars but I
would recommend that you look at cygnus tools for Win32.  You get your
familar unix command line environment under Win32.

I use it for all my Win32 development.


Jason Novotny wrote:
> Hello,
>     For the most part, I've been happily developing under Linux and the
> time has come to make things work on Windows. From the get-go it seems
> that DOS is not my friend. I start up the Tomcat batch script within a
> DOS prompt, but when an error occurs, I have no way of seeing the full
> contents. The DOS window offers no scroll-bar and is basically an
> incredibly dumbed down bash- more like sh really. Can anyone provide me
> with some info for making Tomcat and Windows a friendlier environment?
>     Thanks, Jason
> --
> Jason Novotny     
> Home: (510) 839-6026        Work: (510) 486-8662
> NLANR Applications Support
> NERSC Distributed Computing

Randy Murrish |
Spider Guy, ChannelPoint, Inc. |

View raw message