Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

tomcat crash with application when doesn't found file

master

2007-02-12

Replies:

HI, today i have test an application, and i have put a wrong path for the
file i would like to read, but the thing that surprise me is that it crash
the tomcat server.
The only things in log is :
(Location of error unknown)java.io.FileNotFoundException: /home/myfile (No
such file or directory)

Well, after many try my appli crash the server each time i call it with a
wrong path, i don t think this very normal and i would like to know if there
is a way to protect the server against bad application like that ?

The problem of a file not found can happen many times and if the server
crash every time that s a real problem
thanks for your advice


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.