You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Charles Sanders <c-...@wcom.com> on 2002/06/18 19:36:27 UTC

mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT

I am having problems getting mod_jk to work with apache 2.0.36 and tomcat
4.0.4-b3. I have created the workers.properties file (inserted below). I
have added in the listener and connector for AJP in server.xml file. If I
try to have TC auto create the mod_jk.conf file it does not start TC and
does not auto create the mod_jk.conf file for apache. One I am not sure
about is the worker.inprocess.class_path. If anyone could please help it
would be greatly appreciated.

Thanks,
Charles

#>>> workers.properties file content <<<#
workers.tomcat_home=c:/jakarta-tomcat-4.0.4-b3
workers.java_home=$(JAVA_HOME)
ps=\

worker.list=ajp13, ajp14
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

worker.ajp14.port=8010
worker.ajp14.host=localhost
worker.ajp14.type=ajp14
worker.ajp14.secretkey=secret
worker.ajp14.credentials=myveryrandomentropy
worker.ajp14.lbfactor=1

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)ca
talina.jar
worker.inprocess.cmd_line=start
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p
s)jvm.dll
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr

Re: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT

Posted by Michael Timpe <MT...@t-online.de>.
Hi,

I have a problem in the same area:

1) I put mod_jk2.dll to the modules dir of apache.

2) I added LoadModule jk2_module modules/mod_jk2.dll to my httpd.conf file

3) I added the directive JkMount /*.jsp ajp13 to my httpd.conf file

Testing the conf file using apache.exe -t httpd.conf, the following report
will be written:

"Invalid command 'JkMount', perhaps mis-spelled or defined by a module not
included in the server configuration"

I did not found any installation instructions for mod_jk2. The old
documentation for mod_jk seems not to be valid (JkMount definitely worked
with mod_jk).

Any ideas?

Greetings

Michael

----- Original Message -----
From: "Charles Sanders" <c-...@wcom.com>
To: "Tomcat Users List (E-mail)" <to...@jakarta.apache.org>
Sent: Tuesday, June 18, 2002 7:36 PM
Subject: mod_jk with Apache 2.0.36/TC 4.0.4-b3 on NT


> I am having problems getting mod_jk to work with apache 2.0.36 and tomcat
> 4.0.4-b3. I have created the workers.properties file (inserted below). I
> have added in the listener and connector for AJP in server.xml file. If I
> try to have TC auto create the mod_jk.conf file it does not start TC and
> does not auto create the mod_jk.conf file for apache. One I am not sure
> about is the worker.inprocess.class_path. If anyone could please help it
> would be greatly appreciated.
>
> Thanks,
> Charles
>
> #>>> workers.properties file content <<<#
> workers.tomcat_home=c:/jakarta-tomcat-4.0.4-b3
> workers.java_home=$(JAVA_HOME)
> ps=\
>
> worker.list=ajp13, ajp14
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
>
> worker.ajp14.port=8010
> worker.ajp14.host=localhost
> worker.ajp14.type=ajp14
> worker.ajp14.secretkey=secret
> worker.ajp14.credentials=myveryrandomentropy
> worker.ajp14.lbfactor=1
>
> 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)ca
> talina.jar
> worker.inprocess.cmd_line=start
>
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(p
> s)jvm.dll
>
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
>
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr
>


----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>