You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ron Pitts <ro...@claripoint.com> on 2001/04/10 18:06:01 UTC
File Not Found errors
How do you set a error location for tomcat when a .jsp or servlet is not
found, e.g. apache is errordocument.
I need to set a error document globally for tomcat.
Ron Pitts
Internet Developer
Claripoint Limited
Tel: 0870 458 3031
Fax: 0870 458 3032
"Let's clarify that point"
RE: File Not Found errors
Posted by Ron Pitts <ro...@claripoint.com>.
Tew,
I've heard that apache module (mod_jk) will keep a handle to tomcat, so
restarting tomcat will not always work.
-----Original Message-----
From: Tew Chiz Sheng [mailto:tewcs@pacific.net.sg]
Sent: 11 April 2001 11:58
To: tomcat-user@jakarta.apache.org
Subject: Re: File Not Found errors
Hi guys,
My "404: File Not Found" error occurs whenever I tried to upload a new
version of jsp. After a new version is uploaded, quite often, but not
always, the *.jsp file cannot be found.
I have to restart Apache, restarting Tomcat is not enough. My servlets do
not have this problem though. My Tomcat is v3.2 running on Linux.
Any clue? Thanks in advance.
Re: File Not Found errors
Posted by Tew Chiz Sheng <te...@pacific.net.sg>.
Hi guys,
My "404: File Not Found" error occurs whenever I tried to upload a new version of jsp. After a new version is uploaded, quite often, but not always, the *.jsp file cannot be found.
I have to restart Apache, restarting Tomcat is not enough. My servlets do not have this problem though. My Tomcat is v3.2 running on Linux.
Any clue? Thanks in advance.
RE: File Not Found errors
Posted by Saurabh Shukla <sa...@cysphere.com>.
You can mention something like this in your web.xml. You need to figure out
how to do it for all the errors globally.
shuklix
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error.htm</location>
</error-page>
-----Original Message-----
From: Ron Pitts [mailto:ron.pitts@claripoint.com]
Sent: Tuesday, April 10, 2001 9:36 PM
To: tomcat-user@jakarta.apache.org
Subject: File Not Found errors
How do you set a error location for tomcat when a .jsp or servlet is not
found, e.g. apache is errordocument.
I need to set a error document globally for tomcat.
Ron Pitts
Internet Developer
Claripoint Limited
Tel: 0870 458 3031
Fax: 0870 458 3032
"Let's clarify that point"