tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmichot <mmic...@ajregniers.be>
Subject Re: Invalid command 'LoadModule'
Date Mon, 02 Dec 2002 07:04:05 GMT
Check that you have compiled Apache with the module so_mod
You can check it by "apachectl -l"
Normaly "mod_so.c" must be in the list
This module is necessary to be able to load module dynamically

Hope this help.

On Monday 02 December 2002 08:51 am, Darrel Riekhof wrote:
> I've been going through James Goodwill's article on the O'Reilly site,
> "Configuring Tomcat and Apache With JK 1.2":
>
>   http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html
>
> I'm very sure I did everything correctly, but now after I start Tomcat,
> and then try to start Apache, I get the following:
>
> [riekhof@linux1 bin]$ ./apachectl start
> Syntax error on line 987 of
> /home/riekhof/dev/apache_1.3.27/conf/httpd.conf: Invalid command
> 'LoadModule', perhaps mis-spelled or defined by a module not included in
> the server configuration
>
> Here's what is at the bottom of my httpd.conf file, line 987 is the
> LoadModule line.
>
> ##########
> # Tell Apache to load the mod_jk module for communication with Tomcat.
> # DBR - 2002-12-01
> LoadModule jk_module libexec/mod_jk-1.3-eapi.so
> AddModule mod_jk.c
> JkWorkersFile
> /home/riekhof/dev/jakarta-tomcat-4.1.12/conf/workers.properties
> JkLogFile /home/riekhof/dev/jakarta-tomcat-4.1.12/logs/mod_jk.log
> JkLogLevel debug
> Alias /examples /home/riekhof/dev/jakarta-tomcat-4.1.12/webapps/examples
> JkMount /examples/servlet/* testWorker
> JkMount /examples/*.jsp testWorker
> <Location "/examples/WEB-INF/">
>   AllowOverride None
>   deny from all
> </Location>
>
>
> See anything that would cause this?
>
> Darrel


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message