But it s a recent version tomcat 5.5.20 and i have install it not much time ago, the message i copy you was from the catalina.out.

----- Original Message ----- From: "Stefan" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Monday, February 12, 2007 11:43 PM
Subject: Re: tomcat crash with application when doesn't found file


mast schrieb:
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@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Try again with a new, clean installation of a recent tomcat version. Requesting unknown resources should result in a error message (return a status code)

Status report
message /the/wrong/path
description The requested resource (/the/wrong/path) is not available.

--
Stefan


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to