Re: File Not Found errors

2001-04-11 Thread Tew Chiz Sheng



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

2001-04-11 Thread Ron Pitts



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:[EMAIL PROTECTED]]Sent: 11 April 2001 
  11:58To: [EMAIL PROTECTED]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

2001-04-10 Thread Saurabh Shukla



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-typejava.lang.Exception/exception-type 
location/error.htm/location 
/error-page

  -Original Message-From: Ron Pitts 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 10, 2001 9:36 
  PMTo: [EMAIL PROTECTED]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 PittsInternet 
  DeveloperClaripoint Limited Tel: 0870 458 3031Fax: 0870 458 
  3032
  "Let's clarify that point"