Services to start and stop Tomcat
I have Tomcat 4.1.27 on a Windows 2000 Server where the startup.bat doesnt work and I have to startup the container using the Windows Services tool. The server also doesnt show any Tomcat console window so I can see what is happening.
The startup.bat just pulls up a window real quick and it disappears and the container never starts up. The shutdown.bat does shut down the container but I use the Server Services to shutdown the container when needed.
Please advise if this is normal and anyway to change it to how I have it in my local develper environment. In my local developer env, I use startup.bat and shutdown.bat and see Tomcat console window after it is started up and the console window stays up so I can view it.
[743 byte] By [
oaklandara] at [2007-11-27 11:00:50]

# 1
Go to the command line (start => execute => type in "cmd")
Then navigate to the tomcat bin folder (something like cd jsp/tomcat5/bin), type startup.bat and check what it says, could display some error that is easily fixed (will stay in cmd and not go away when it finishes)
# 2
Hi,
I have the same env. I faced the same problem. Go to cmd prompt and go to tomcat bin directory, before that set the JAVA_HOME in the windows Env properties or open Catlina.bat file and set the JAVA_HOME. After setting the JAVA_HOME setup, give the command as like this "catalina run" in the command prompt, the command prompt window will not be disappered. If you give "Catlina start" a new tomcat startup window will be opened. If any error occurs on startup the window gets disappered.
Let me know you need some more help.
Cheers!!!
Sundaram.