[EMAIL PROTECTED] wrote:
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"));
And where is this line of code, in a servlet, a listener, where?
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@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]