Hi again,

I cant remember where you're up to with this, but will answer one of your
questions below.

The common way to use Tomcat is to not use the mod_jk.conf-auto, but take
a copy of it when you're relatively happy with Tomcat's configuration, and
use that.  You will notice that if you want to use virtual hosts you'll
have trouble (I think) using the auto generated config.  This is because
the JkMount directives need to go inside the <VirtualHost> directives in
Apache.  In short, break your mod_jk config into two parts - one for
apache, which handles the LoadModule, and one for each virtual host, which
contains the JkMount.

Re your second query, check that Tomcat starts happily.  What versions are
you using?  It almost seems that Tomcat is not listening for Apache's
request.

cheesr
dim

> On Thu, 19 Jul 2001, Nance, Michael wrote:
> 
> > I am trying to switch our current configuration from
> Apache/Tomcat/Mod_Jserv
> > to
> > Apache/Tomcat/Mod_Jk.  I obtained the source files and built mod_jk.so.
> > I removed the include of JServ.  
> > I have a few questions and a problem.  When tomcat starts up it generates
> > mod_jk.conf-auto.  Where do I put customized JKMounts?
> > 
> > It appears that Apache is starting ok but not sure if Tomcat is.  in the
> > mod_jk.log
> > I am getting
> > [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 146
> > [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
> > 
> > I have read the docs and don't see what I am missing.
> > Please help!
> > 
> > 
> 

Reply via email to