Currently I am using both.  Initially I just had these lines:

AddType text/jsp .jsp
AddHandler jserv-servlet .jsp
AddHandler jserv-servlet .do 

in my tomcat-apache.conf file, which is included at the end of httpd.conf.
This was returning the errors.  So I added
JkMount /*.jsp ajp13
JkMount /*.do ajp13
JkMount /servlet/* ajp13

to my httpd.conf as you indicated.  This still returned the error.  I tried
taking out the jserv lines from the other file and I still get the same
thing.  

Thanks.

-----Original Message-----
From: Rakesh
To: [EMAIL PROTECTED]
Sent: 7/26/01 2:59 AM
Subject: Re: Struts + Tomcat/Apache

are u using mod_jserv or mod_jk ?



 Rakesh Ayilliath
(Software Engineer)

Synergy IT Innovations Pvt Ltd,
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar
Bangalore 560032

[EMAIL PROTECTED]
www.ayilliath.8m.com
----- Original Message -----
From: "Sorenson, Alexander" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 1:26 AM
Subject: Struts + Tomcat/Apache


> I am still having trouble configuring struts with tomcat and apache.
Going
> through the archives, I have put the following lines in my httpd.conf,
which
> solved the problem I was having before of Apache returning a 404:
>
> JkMount /*.jsp ajp13
> JkMount /*.do ajp13
> JkMount /servlet/* ajp13
>
> Unfortunately now it returns a 500 internal server error.  looking at
> apache's logs, I find the following:
> mod_jserv.log:
> [25/07/2001 19:57:13:989] (EMERGENCY) ajp12[1]: cannot scan servlet
headers
> (500)
> [25/07/2001 19:57:13:989] (ERROR) an error returned handling request
via
> protocol "ajpv12"
>
> error.log:
> [Wed Jul 25 15:57:13 2001] [error] [client 64.111.2.62] Premature end
of
> script headers: g:/jakarta-tomcat-3.2.2/webapps/bmp/custlogin.do
>
> in the tomcat mod_jk.log:
> [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61
> [jk_ajp13_worker.c (174)]: In jk_endpoint_t::connect_to_tomcat, failed
errno
> = 61
> [jk_ajp13_worker.c (587)]: Error connecting to the Tomcat process.
>
> Can anyone tell me what's going on here / how to fix it?
> Thanks
>

Reply via email to