• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Apache auto-config

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic