hi,

did you add the following lines into httpd.conf?

# Load mod_jk
#
LoadModule      jk_module libexec/mod_jk.so
AddModule       mod_jk.c

#Configure mod_jk
#
JkWorkersFile   /usr/local/jakarta-tomcat-3.2.1/conf/workers.properties
JkLogFile       /usr/local/apache/logs/mod_jk.log
JkLogLevel      error

Paths can be different according your system.

Add the following lines just before the Section 3, Vritual Host

#JkMount configuration
#
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

And also check the <Context ...> tags in the server.xml file that shows the
right path for documents.

Regards,
Deniz...

----- Original Message -----
From: "mailing" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 15, 2001 11:22 AM
Subject: Problem of setting up apache with tomcat using mod_jk in Linux


>
> I have install tomcat and mod_jk as
> http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html
> tell, but the jsp and servlet example are don't work.
> If I select jsp file at example, it display raw jsp code but don't pass
> to tomcat to process.
> If I select servlet examples, it dispaly file not find error.
>
> I have include the files under apache config file as state in the
> document:
> LoadModule    jk_module  libexec/mod_jk.so
> AddModule     mod_jk.c
> JkWorkersFile /var/tomcat/conf/workers.properties
> JkLogFile     /var/tomcat/logs/mod_jk.log
> JkLogLevel    warn
> Include /var/tomcat/conf/mod_jk.conf-auto
>
> And from the mod_jk log, I find the following entry:
>
> [jk_uri_worker_map.c (334)]: jk_uri_worker_map_t::uri_worker_map_close,
NULL parameter
> [jk_uri_worker_map.c (184)]: In jk_uri_worker_map_t::uri_worker_map_free,
NULL parameters
>
> How can I solve?

Reply via email to