File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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"
</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.


Matthew Webster - eudoxus@freeuk.com<br /><a href="http://www.matthewwebster.homeunix.net/" target="_blank" rel="nofollow">http://www.matthewwebster.homeunix.net/</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache auto-config