Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

mod_jk.so

Gibson, Danny

2004-05-28

Replies:

Good day All,

Below are my configurations and versions. The problem I have is that when I
try to load the mod_jk.so, it appears to load but fails with the following
error message when starting Apache:

/opt/app/apache1.3.31/bin]
> ./apachectl start
Syntax error on line 654 of /opt/app/apache1.3.31/conf/httpd.conf:
Invalid command 'JkMount', perhaps mis-spelled or defined by a module not
included in the server configuration
./apachectl start: httpd could not be started

I have searched for a clue to understand what could be causing my problem
all day. If I could just be pointed in the right direction, it would be very
appreciated.

Thanks,
Danny

Solaris 5.8 Generic_108528-29

Perl 5.8.3

Apache 1.3.31 - built with ./configure --prefix=/opt/app/apache1.3.31
--enable-module=most --enable-shared=max --with-perl=/usr/local/bin/perl
Compiled-in modules:
     http_core.c
     mod_so.c
Syntax OK
Apache works fine.

Tomcat 4.1.30
Tomcat works fine.

mod_jk.so -
archive.apache.org/dist/jakarta/tomcat-connectors/jk/v1.2.1/bin/solaris8/mod
_jk-1.3-noeapi.so

# httpd entries for JK_Connector
LoadModule jk_module       libexec/mod_jk.so
JkWorkersFile /opt/app/apache1.3.31/conf/workers.properties
JkLogFile /opt/app/apache1.3.31/logs/mod_jk.log
JkLogLevel debug
JkMount /*.jsp ajp13

#workers.properties
workers.tomcat_home=/opt/app/tomcat4.1.30
workers.java_home=/usr/j2sdk1.4.2_04
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=50
worker.ajp13.cachesize=150
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.inprocess.type=jni
worker.inprocess.class_path=$(workers.tomcat_home)$(ps)server$(ps)lib$(ps)to
mcat-jk.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)lib$(ps)sparc$(ps)
libjvm.so
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home)










---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.