mod_jk - apache tomcat problem

James McDonald james
Mon May 17 12:01:52 PDT 2004


Net Llama! wrote:

> I've got a RHES-3.0 box with apache2 and tomcat installed.  I'm trying 
> to get mod_jk2 working, but i can't quite figure out the neccesary 
> syntax to set it all up.
>
> What i'm hung up on is what i need to throw into httpd.conf to get 
> basic functionality.  right now when i try to start apache i get the 
> error:
>
> Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a 
> module not included in the server configuration 

If you run the command /usr/sbin/httpd -L that will give you all the 
available configuration directives and the module associated with it. 
You may find the correct syntax from the output?

>
>
> All that i've added to httpd.conf is:
>
> LoadModule jk2_module modules/mod_jk2.so
>
> <IfModule mod_jk2.c>
> JkWorkersFile /etc/httpd/conf/workers.properties
> JkLogFile /var/log/httpd/mod_jk.log
> JkLogLevel info
> JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
> JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
> JkRequestLogFormat "%w %V %T"
> JkMount /sf-soap/* worker1
> JkMount /sf-soap worker1
> </IfModule>
>





More information about the Linux-users mailing list