[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tomcat 4, mod_jk



I have to say, I don't really understand this mod_jk stuff.  I've read
all the available documentation I can find, but none of it resolves my
issue.  Currently I've managed to make my application work just fine
using manual ocnfig of Apache -- so in addition to the LoadModule line
I have the following in my httpd.conf file:

IfModule mod_jk.c>
# The following line is for apacheconfig - DO NOT REMOVE!
JkWorkersFile /etc/tomcat/jk/workers.properties
#Include /var/lib/tomcat/conf/mod_jk.conf
JkMount /*.jsp ajp13
JkMount /Mir ajp13
JkMount /Mir/* ajp13
JkMount /servlet ajp13
jkMount /examples/* ajp13

</IfModule>
you'll noticew that the Include line is ocmmented out -- for me, that
line didn't do anything, I guess because mod_jk.conf is EMPTY.  On the
other hand, jk2.conf does exist and is nonzero in length.  Is there
someone out there who knows how mod_jk works and. in particular, how
to configure TOMCAT to generate the appropriate conf file?  I think
that's the problem here.

I tried uncommenting the Tomcat-Apache service;  in server.xmlno luck, didn't change
anything.  The docs say something about "starting up tomcat with the
parameter mod_jk.conf" -- but I'm not sure whether that means one
hsould execute thee  bin/startup.sh script with the parameter, or
something else.  anyway, I still haven't been able to generate a
mod_jk.conf.  

This isn't urgent anymoer -- like I said, things seem to be working
now -- but I'd like to understand what's going on!  thanks loads,
matt


I should say that I've resorted to using the unstable distribution of
Tomcat (4.1.12, I think) and the associated .debs (tomcat4.webapps,
tomcat4-admin).  


On Mon, Oct 21, 2002 at 03:31:00PM -0400, Matt Zimmerman wrote:
> On Mon, Oct 21, 2002 at 07:35:13PM +0100, Tom Badran wrote:
> 
> > Out of box, debians tomcat distribution will not integrate with apache at
> > all, even if you install mod_jk. You need to follow the howto on the
> > apache website for how to do this.
> 
> Huh? What is necessary beyond uncommenting the appropriate Service in
> server.xml?
> 
> -- 
>  - mdz
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-java-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: