You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ed Thompson <et...@carolina.rr.com> on 2002/06/15 02:47:09 UTC

Having trouble getting mod_jk.conf generated...

Trying to run Tomcat 4.0.3 with APcahe 1.3 on a lInux box (RH7.2).

Can't seem to get the mod_jk.conf file generated.  If I add the directive:

   <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
      modJk="/usr/local/apache/libexec/mod_jk.so" jkDebug="info"
      workersConfig="/var/tomcat4/conf/jk/workers.properties"
      jkLog="/var/tomcat4/logs/mod_jk.log" debug="1"/>

 right after the Server def, the following msg appears in catalina.out:

Unable to open config file
Starting service Tomcat-Apache
Apache Tomcat/4.0.3

ls -l /var/tomcat4/conf/jk/workers.properties shows the file exists.

Any help appreciated!

Ed

Re: Having trouble getting mod_jk.conf generated...

Posted by Jacob Kjome <ho...@visi.com>.
I get mine printed out with the following just inside my <Host> element...

<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
             append="true"
             forwardAll="false"/>

Jake

At 08:47 PM 6/14/2002 -0400, you wrote:
>Trying to run Tomcat 4.0.3 with APcahe 1.3 on a lInux box (RH7.2).
>
>Can't seem to get the mod_jk.conf file generated.  If I add the directive:
>
>    <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
>       modJk="/usr/local/apache/libexec/mod_jk.so" jkDebug="info"
>       workersConfig="/var/tomcat4/conf/jk/workers.properties"
>       jkLog="/var/tomcat4/logs/mod_jk.log" debug="1"/>
>
>  right after the Server def, the following msg appears in catalina.out:
>
>Unable to open config file
>Starting service Tomcat-Apache
>Apache Tomcat/4.0.3
>
>ls -l /var/tomcat4/conf/jk/workers.properties shows the file exists.
>
>Any help appreciated!
>
>Ed