Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: mod_jk error - any ideas? |
|
Author |
|
mseldin
Joined: 12 Mar 2006 Posts: 1
|
Posted: Mon 13 Mar '06 6:09 Post subject: mod_jk error - any ideas? |
|
|
I've configured this web site's apache 2 build to work with tomcat via the latest connector (actually I tried both mod_jk-1.2.14 and mod_jk-1.2.15).
When trying to start up I get this odd error:
httpd.exe: Syntax error on line 118 of C:/apache2/conf/httpd.conf: Cannot load C:/apache2/modules/mod_jk.so into server: The specified procedure could not be found.
To be precise, I get a different error if the module is absent, so this is not a simple "file not found" error.
I've tried my command:
LoadModule jk_module modules/mod_jk.so
both as a first and last LoadModule command.
A google search of this turns up very little, none of it useful.
Ideas??? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Mon 13 Mar '06 12:32 Post subject: |
|
|
How does the line 118 look?
Code: |
LoadModule jk_module libexec/mod_jk.so
#Where to find workers.properties
JkWorkersFile /etc/httpd/conf/workers.properties
# Where to put jk logs
JkLogFile /var/log/httpd/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel info
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# Send servlet for context /examples to worker named worker1
JkMount /examples/servlet/* worker1
# Send JSPs for context /examples to worker named worker1
JkMount /examples/*.jsp worker1
|
|
|
Back to top |
|
apie
Joined: 30 Mar 2006 Posts: 7
|
Posted: Fri 31 Mar '06 18:10 Post subject: |
|
|
mod_jk binary depends on Apache versions. You'd better use the proper version, or build it for yourself. |
|
Back to top |
|
|
|
|
|
|