tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joakim Verona <>
Subject Re: APJ12: connection failed
Date Mon, 30 Oct 2000 14:58:16 GMT

apache and tomcat talk to each other using the ajp protocoll
on a port, normally 8007.

apache needs to have a plugin properly configured and running for this to work.

there appears to be both mod_jserv and mod_jk you can use for this, where mod_jk is never.
i use mod_jserv.

read the installation instuctions, and find which plugin to use and where to put it
(depending on your os config) and then change the apache startup file to include 
a file called tomcat.conf or something like that tomcat creates for apache when starting.

hope this helps somewhat, even if i wasnt very specific.

Natalie D Rassmann wrote:
> Hi,
> I have been trying to get Apache to start Tomcat and after many long
> days I have finally got Apache to start Tomcat.  However, when I try to
> go to the examples page and have Apache serve the JSP or Servlet
> examples I get the following error:
> ajp12: can not connect to host
> ajp12: connection fail
> an error returned handling request via protocol "ajpv12"
> What does this mean?  I see when I type netstats -a that both ports 8007
> and 8080 are not listening.  I tried changing the default port to 8009
> and this did not work.
> Can anyone help me????

Joakim Verona

View raw message