This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Getting FileNotFound Excepntion while starting tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Getting FileNotFound Excepntion while starting tomcat server" Watch "Getting FileNotFound Excepntion while starting tomcat server" New topic
Author

Getting FileNotFound Excepntion while starting tomcat server

Jay Shukla
Ranch Hand

Joined: Jun 08, 2008
Posts: 214
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

Joined: Mar 22, 2000
Posts: 12682
    
    5
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

Java Resources at www.wbrogden.com
Jay Shukla
Ranch Hand

Joined: Jun 08, 2008
Posts: 214
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

Joined: Mar 22, 2000
Posts: 12682
    
    5
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
 
subject: Getting FileNotFound Excepntion while starting tomcat server
 
Similar Threads
command window disappear
Tomcat
Tomcat Cloudscape Tie
no starting up server
Open tomcat server in the same dos window.