tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: tomcat crash with application when doesn't found file
Date Tue, 13 Feb 2007 09:28:37 GMT
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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message