File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting FileNotFound Excepntion while starting tomcat server

 
Jay Shukla
Ranch Hand
Posts: 214
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

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?

Thanks in Advance.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Bill
 
Jay Shukla
Ranch Hand
Posts: 214
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bill,

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.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Bill

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic