tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Christophe Praud ...@praud.com>
Subject JK 404 error
Date Thu, 17 Nov 2005 09:48:43 GMT
Hi all,

I've got a problem setting up Apache 2.0.55, Tomcat 5.5.12 and JK 1.2.15 
on a Linux server : when I try to access to /test.jsp page, I get a 404 
error from Tomcat (not Apache)

What did I miss ?


- my httpd.conf :

LoadModule    jk_module  modules/mod_jk.so
JkWorkersFile     /usr/local/apache2/conf/workers.properties
JkLogFile     /usr/local/apache2/logs/mod_jk.log
JkLogLevel    info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]

<VirtualHost *>
 DocumentRoot /home/rnc/web/htdocs
 ServerName cthugha

 JkMount /*.jsp ajp13
</VirtualHost>



- my workers.properties :

workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/local/jdk
ps=/
worker.list=ajp12, ajp13

worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
worker.ajp12.lbfactor=1

worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp12, ajp13

worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)lib$(ps)tomcat.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)i386$(ps)classic$(ps)libjvm.so

worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr



- The test.jsp page is located in the /home/rnc/web/htdocs/ directory.




Regards,





-- 
Jean-Christophe Praud         -      http://shub-niggurath.com
Conseil & Développement Informatique      http://www.praud.com
Ph'nglui mglw'nafh Cthulhu n'gah Bill R'lyeh Wgah'nagl fhtagn!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message