Java Mailing List Archive

http://www.junlu.com/

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

Re: tomcat crash with application when doesn't found file

master

2007-02-13

Replies:

When i mean crash the server it s simply that the tomcat server stop,
after the message file not found, the tomcat server simply stop (when i do
a ps it isn't there anymore)

the code i use is :
Source myfiletxt = new StreamSource(new File("/home/mast/myfile.txt"));

whell the "/home/mast/myfile.txt" was an incorrect path and that s this
thing that make crash the tomcat server.

> perhaps you could define in more detail what you mean by "crash the
> server"?
>
> do you mean that it shows an error page?
> or do you mean that it terminates the server?
> in which piece of code are you requesting the non-existent file?
>



---------------------------------------------------------------------
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.