I have installed tomcat 6.0.33 into my Window system. When in start tomcat server i am getting java.io.FileNotFound exception and window (tomcat startup console) gets closed
Can anyone please help what needs to be done to resolve this?
IF you are running Tomcat as an application, try this
In order to keep that window open so you can see detailed messages on what is going on, change the last executable line in startup.bat to use "run" instead of start.
Open a command prompt window, navigate to the tomcat \ bin directory and execute startup.bat - when it continues with catalina.bat the window should stay open.
ELSE if you are running Tomcat as a service this does not work.
Joined: Jun 08, 2008
Thanks for reply.
I do not have startup.bat in bin folder of tomcat directory.
But i have tomcat6 as an application and i used double click that to run tomcat.
Can someone please advice me on this?
Thanks in Advance.
Author and all-around good cowpoke
Joined: Mar 22, 2000
The Tomcat people have (IMHO) screwed up the instructions for installation. The "deployer" installs tomcat as a service which is a real pain when you are trying to develop servlets. They don't tell you the other approach
What you want is the zip version - when unzipped this gives you a bin directory with startup.bat. Much easier to experiment with than the service installation.