It's not a secret anymore!
The moose likes Tomcat and the fly likes Where is the default error folder in a linux Tomcat 7 installation? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Where is the default error folder in a linux Tomcat 7 installation?" Watch "Where is the default error folder in a linux Tomcat 7 installation?" New topic
Author

Where is the default error folder in a linux Tomcat 7 installation?

John Golap
Greenhorn

Joined: Feb 26, 2013
Posts: 5
Hello

I want to manually change the 404 page in a default linux Tomcat 7 installation but I cannot find the errors folder. Where is it?
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 317

Hello John Golap,

There is no errors folder in any tomcat directory . You can however specify a default error page for the tomcat server. You specify it in the $CATALINA_HOME/conf/web.xml file as follows



Regards, Muhammad Saif Asif Mirza
SCJA(5/6) SCJP(6)
John Golap
Greenhorn

Joined: Feb 26, 2013
Posts: 5
Saif Asif wrote:Hello John Golap,

There is no errors folder in any tomcat directory . You can however specify a default error page for the tomcat server. You specify it in the $CATALINA_HOME/conf/web.xml file as follows


Where is the page that is shown by default when a 404 occurs in Tomcat? That code has to be somewhere...
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Where is the default error folder in a linux Tomcat 7 installation?
 
Similar Threads
Installation Guide (Tomcat on Linux)
How to deploy a WAR file/EAR file on websphere ?
JDBC Exception in JNDI lookup
WebappClassLoader Error when deploying on Tomcat
Unable to access my application in Tomcat 6