File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Apache auto-config Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Apache auto-config" Watch "Apache auto-config" New topic

Apache auto-config

Matthew Webster
Ranch Hand

Joined: May 10, 2001
Posts: 51
Hello y'all,
I'm having trouble getting Apache 2.0.43 and Tomcat 4.1.12 to talk on Win32 (XP) and this appears to be the offending code in the Apache2/conf/httpd.conf (all paths are correct)...
<IfModule !mod_jk.c>
LoadModule jk2_module "E:/Java/Instances/Apache/Apache2/modules/mod_jk2-2.0.43.dll"
JkWorkersFile "E:/Java/Instances/Apache/Tomcat 4.1/conf/jk/"
JkLogFile "E:/Java/Instances/Apache/Tomcat 4.1/logs/mod_jk.log"
JkLogLevel emerg
<VirtualHost localhost>
ServerName localhost
JkMount /web ajp13
JkMount /web/* ajp13
JkMount /examples ajp13
JkMount /examples/* ajp13
It was mostly generated by the auto-config feature in Tomcat, but the complaint I get from Apache -t is...
Invalid command 'JkWorkersFile', perhaps mis-spelled or defined by a module not included in the server configuration
Would anyone be able to shed some light on this please?


Matthew Webster -<br /><a href="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: Apache auto-config
It's not a secret anymore!