hey,
1) Try changing the default apj12 worker definition section of
workers.properties file as follows:
worker.ajp12.host=your serverip(instead of the default localhost!) & see if
it works.
2) Make sure you have Included tomcat.conf at the end of httpd.conf if you
are using mod_Jserv / Include mod_jk.conf-auto at the end of httpd.conf if
you are using mod_JK.
2) Start tomcat first & then apache!!

Hope it helps.

-Giri

-----Original Message-----
From: Joakim Verona [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 9:58 AM
To: [EMAIL PROTECTED]
Subject: Re: APJ12: connection failed


hello,

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 127.0.0.1:8007
> 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
[EMAIL PROTECTED]
http://www.verona.se/

Reply via email to