tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick GIRY <patrickg...@yahoo.fr>
Subject Re: Configuring mod_jk2
Date Fri, 13 Dec 2002 18:14:03 GMT
You can found any information on the jk2.properties on

the
http://localhost:8080/tomcat-docs/jk2/jk2/configtc.html

when you have installed your tomcat.

--- jks@selectacast.net a écrit : > Where is the
jk2.properties file documented?
> 
> On Thu, 12 Dec 2002, Bill Barker wrote:
> 
> > ApacheConfig is for use with mod_jk 1.x.  It
> doesn't work with jk2.  With
> > jk2, you only need the 'LoadModule' statement in
> httpd.conf.  The rest of
> > the configuration is handled by the
> 'jk2.properties' file.
> > 
> > "Joseph Shraibman" <jks@selectacast.net> wrote in
> message
> > news:3DF90A2D.7020104@selectacast.net...
> > > I have in my server.xml:
> > >
> > > <Listener
>
className="org.apache.ajp.tomcat4.config.ApacheConfig"
> > > modJk="/usr/local/apache2/modules/mod_jk2.so" />
> > >
> > > ... which generated:
> > >
> > > ########## Auto generated on Thu Dec 12 16:58:06
> EST 2002##########
> > >
> > > <IfModule !mod_jk.c>
> > >    LoadModule jk_module
> /usr/local/apache2/modules/mod_jk2.so
> > > </IfModule>
> > >
> > > JkWorkersFile
> "/local/tomcat/conf/jk/workers.properties"
> > > JkLogFile "/local/tomcat/logs/mod_jk.log"
> > >
> > > JkLogLevel emerg
> > >
> > > ============== <end file>
> > >
> > > The problem is that if I include that file in my
> httpd.conf I get:
> > > Starting apache2: 
> /usr/local/apache2/bin/apache2
> > > Syntax error on line 3 of
> /local/tomcat/conf/mod_jk.conf:
> > > Can't locate API module structure `jk_module' in
> file
> > > /usr/local/apache2/modules/mod_jk2.so:
> > /usr/local/apache2/modules/mod_jk2.so: undefined
> > > symbol: jk_module
> > >
> > > If I change my mod_jk.conf to look like:
> > >
> > > <IfModule !mod_jk.c>
> > > #  LoadModule jk_module
> /usr/local/apache2/modules/mod_jk2.so
> > >    LoadModule jk2_module
> /usr/local/apache2/modules/mod_jk2.so
> > > </IfModule>
> > > ..etc.
> > >
> > > I get:
> > > Starting apache2: 
> /usr/local/apache2/bin/apache2
> > > Syntax error on line 7 of
> /local/tomcat/conf/mod_jk.conf:
> > > Invalid command 'JkWorkersFile', perhaps
> mis-spelled or defined by a
> > module not included
> > > in the server configuration
> > >
> > > This is apache 2.0.43 on linux with tomcat
> 4.1.12 and mod_jk2 2.0.2
> > 
> > 
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
> > 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
>  

=====
A+
Patrick GIRY
e-mail : patrickgiry@yahoo.fr

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message