mod_jk - apache tomcat problem

Kurt Wall kwall
Mon May 17 12:01:52 PDT 2004


In a 1.3K blaze of typing glory, 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
> 
> 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>

Man, I love Google:

http://www.junlu.com/msg/14050.html

"You don 't need anything but the "LoadModule " line for jk2. The other
stuff is configured in the workers2.properties file. The documentation
for this is extremely light, but might be somewhat helpful. Check
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/installhowto.html."

Kurt
> 
> 
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> L. Friedman                       	       netllama at linux-sxs.org
> Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com
> 
>  19:15:01  up 148 days, 22:47,  1 user,  load average: 0.23, 0.14, 0.09
> _______________________________________________
> Linux-users mailing list
> Linux-users at smtp.linux-sxs.org
> Unsubscribe/Suspend/Etc -> 
> http://smtp.linux-sxs.org/mailman/listinfo/linux-users

-- 
Rule of Feline Frustration:
	When your cat has fallen asleep on your lap and looks utterly
content and adorable, you will suddenly have to go to the bathroom.



More information about the Linux-users mailing list