Try the following in a batch file:

start "Tomcat Service" cmd.exe /x /t:0b /k %TOMCAT_HOME%/bin/startup.bat

This will start Tomcat in a new process called "Tomcat Service" using the
WinNT/2K command processor and will tell the command processor to stay
around even after Tomcat dies so you can see the error.  The other thing I
like to do with the STARTUP.BAT file is add the line

Mode 178,1000

which gives me a scroll-back buffer of 1000 lines of 178 characters each.
This way I can see when the error started.  Realize that it take approx.
178k for each process just for the scroll-back buffer.



-----Original Message-----
From: sushil [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 4:47 PM
To: [EMAIL PROTECTED]
Subject: Help On running Tomcat


Dear List,

I am trying to run tomcat stand alone on an NT platform. I am trying to run
the server on a different ip from that of the host i.e we need to be able to
run tomcat not from the localhost address but from an allocated ip address.

What cahnges do i need to make this work as I keep getting the screen which
disappears after a few seconds when  trying to run startup.bat

 Regards

Sushil Prabhakar
Cybernet Communications Inc.
Suite 207
20 Amber Street
Markham, Ontario
L3R 5P4
Tel: (905) 947 1801
Fax:(905) 947 1802


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to