Jesus Loves GRASS

Technical blog about GRASS/GIS,open source geoinformatics and MAPSERVER.

Wednesday, April 29, 2009

Problem with Tomcat 5.5. HTTP Status 404 - The requested resource (...) is not available. (mod_jk)

Dealing with tomcat errors can be a pain in the neck.

For example a situation like this:

1) Considering that tomcat is running and apache's mod_jk is being used to connect to it.
a. Tomcat works fine when using http://mysite.com:8180/mypage
b. http://mysite.com/mypage generates a HTTP error 404 with resource not found.

2) Probably there is a miss match between the httpd.conf file and the server.xml configuration file
- ServerName, server IP or ports may be different in the 2 configuration files
- If you recompiled Apache, then you need to recompile mod_jk


If you are a newbie in tomcat (like me) this error may take some time to figure it out, since the error logs of apache are clean and the tomcat error logs don't help much

Labels: , , , ,

0 Comments:

Post a Comment

<< Home