Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Apache auto-config

 
Matthew Webster
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"
</IfModule>
JkWorkersFile "E:/Java/Instances/Apache/Tomcat 4.1/conf/jk/workers.properties"
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
</VirtualHost>
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?

Regards,
Matt.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic