You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christoph Kukulies <ku...@www.kukulies.org> on 2005/03/18 13:10:42 UTC

mod_jk under Win32 (Tomcat 5.0.28, apache 1.13.33)

I installed apache 1.13.33 and tomcat 5.0.28.
Both servers are running. I can test tomcat fine on port 8080.

Now I want to integrate apache with tomcat and downloaded the 
mod_jk 1.2 binary .so file from 
http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cgi

I installed it as mod_jk.so in 

Apache\modules

but when starting apache I get an error 
G:\Programme\Apache_Group\Apache>apache
Syntax error on line 992 of g:/programme/apache_group/apache/conf/httpd.conf:
Cannot load g:/programme/apache_group/apache/modules/mod_jk.so into server: (127
) Die angegebene Prozedur wurde nicht gefunden:


Portions of my httpd.conf:

ClearModuleList
#AddModule mod_vhost_alias.c
AddModule mod_env.c
AddModule mod_log_config.c
#AddModule mod_mime_magic.c
AddModule mod_mime.c
AddModule mod_negotiation.c
#AddModule mod_status.c
#AddModule mod_info.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c

# and at the end:


LoadModule jk_module modules/mod_jk.so

JkWorkersFile "g:\Programme\Apache_Group\Tomcat 5.0\conf\workers.properties"
JkLogFile "g:\Programme\Apache_Group\Apache\logs\mod_jk.log"
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"

JkMount /*.jsp ajp13
---


AddModule mod_isapi.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
#AddModule mod_speling.c
AddModule mod_userdir.c
AddModule mod_alias.c
#AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth.c
#AddModule mod_auth_anon.c


Any clues?

--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org

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


Re: mod_jk under Win32 (Tomcat 5.0.28, apache 1.13.33)

Posted by Pete Eakle <pe...@gmail.com>.
I thought that for apache 1.3, the modules go in the libexec
directory, and if so then your statement above should look like:
    LoadModule jk_module libexec/mod_jk.so


On Fri, 18 Mar 2005 13:10:42 +0100 (CET), Christoph Kukulies
<ku...@www.kukulies.org> wrote:
> I installed apache 1.13.33 and tomcat 5.0.28.
> Both servers are running. I can test tomcat fine on port 8080.
> 
> Now I want to integrate apache with tomcat and downloaded the
> mod_jk 1.2 binary .so file from
> http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cgi
> 
> I installed it as mod_jk.so in
> 
> Apache\modules
> 
> but when starting apache I get an error
> G:\Programme\Apache_Group\Apache>apache
> Syntax error on line 992 of g:/programme/apache_group/apache/conf/httpd.conf:
> Cannot load g:/programme/apache_group/apache/modules/mod_jk.so into server: (127
> ) Die angegebene Prozedur wurde nicht gefunden:
> 
> Portions of my httpd.conf:
> 
> ClearModuleList
> #AddModule mod_vhost_alias.c
> AddModule mod_env.c
> AddModule mod_log_config.c
> #AddModule mod_mime_magic.c
> AddModule mod_mime.c
> AddModule mod_negotiation.c
> #AddModule mod_status.c
> #AddModule mod_info.c
> AddModule mod_include.c
> AddModule mod_autoindex.c
> AddModule mod_dir.c
> 
> # and at the end:
> 
> LoadModule jk_module modules/mod_jk.so
> 
> JkWorkersFile "g:\Programme\Apache_Group\Tomcat 5.0\conf\workers.properties"
> JkLogFile "g:\Programme\Apache_Group\Apache\logs\mod_jk.log"
> JkLogLevel info
> JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
> 
> JkMount /*.jsp ajp13
> ---
> 
> AddModule mod_isapi.c
> AddModule mod_cgi.c
> AddModule mod_asis.c
> AddModule mod_imap.c
> AddModule mod_actions.c
> #AddModule mod_speling.c
> AddModule mod_userdir.c
> AddModule mod_alias.c
> #AddModule mod_rewrite.c
> AddModule mod_access.c
> AddModule mod_auth.c
> #AddModule mod_auth_anon.c
> 
> Any clues?
> 
> --
> Chris Christoph P. U. Kukulies kuku_at_kukulies.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
>

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