PDA

View Full Version : Tomcat installition help 404 Error


smeshy123
08-20-2007, 07:42 PM
HTTP Status 404

description: The requested resource (/blah/blah.jsp) is not available.

I am running on OS X 10.4 Server. I enabled the jk_module in the web server administration page and dropped my code into a new folder in my regular web sites folder. Any ideas as to why this is happening? Am I missing a step somewhere?

Thanks,

Smeshy

ess
08-21-2007, 01:45 PM
Are you using jk_module to forward requests between say Apache and Tomcat?

If that is the case, you need to
load jk_module in apache's config before your virual host definition...for example
<IfModule !mod_jk.c>
LoadModule jk_module modules/mod_jk.so
</IfModule>
this should ensure that jk_module is only loaded if it hasn't already

second, you will need to create a virtual host where requests can be forwarded between the two servers. there are loads of examples on the net...here is one.
http://www.anders.com/projects/sysadmin/tomcat.html

hope this helped.
Cheers,
Ess