tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
Subject Re: tomcat crash with application when doesn't found file
Date Tue, 13 Feb 2007 09:47:54 GMT
master@tyranz.com 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 


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


Mime
View raw message