Hi

I attempt to use mod_jk between tomcat 4.1.12 & apache 2.0.43 with virtual host

but every time i request a .jsp, apache return an internal server error

in mod_jk.log we can read  : 

[jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (477)]: Attempting to map URI '/jsp/num/numguess.jsp'
[jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix 
match vhost1 -> *.jsp
[mod_jk.c (1277)]: Into handler r->proxyreq=0 r->handler=jakarta-servlet 
r->notes=135764112 worker=vhost1
[jk_worker.c (132)]: Into wc_get_worker_for_name vhost1
[jk_worker.c (136)]: wc_get_worker_for_name, done did not found a worker

The only host in my server.xml is www.vhost1.com

in httpd.conf i have this : 

<IfModule !mod_jk.c>
  LoadModule jk_module /usr/local/apache/modules/mod_jk.so
</IfModule>
JkWorkersFile "/usr/local/tomcat/conf/jk/workers.properties"
JkLogFile "/usr/local/tomcat/logs/mod_jk.log"
JkLogLevel warn

NameVirtualHost *

<VirtualHost *>
    ServerName www.vhost1.com
    DocumentRoot /usr/local/tomcat/webapps/examples
    <Directory "/">
        Options Indexes FollowSymLinks
        DirectoryIndex index.html index.htm index.jsp
    </Directory>

    <Location "/WEB-INF/*">
        AllowOverride None
        deny from all
    </Location>

    <Location "/META-INF/*">
        AllowOverride None
        deny from all
    </Location>

    JkMount /*.jsp  vhost1
</VirtualHost>

my worker.properties :

workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/local/java
ps=/
worker.list=vhost1
worker.vhost1.port=8009
worker.vhost1.host=www.vhost1.com
worker.vhost1.type=ajp13


Can you help me ?

Tks 

__

Reply via email to