Same email, I just fixed the formatting in the log.  Sorry for the
repeat.

-----Original Message-----
From: Matt Clark 
Sent: Thursday, October 17, 2002 12:54 PM
To: [EMAIL PROTECTED]
Subject: ajpv12_handle_response, Error reading header line


I apologize for the question on an older version, but I'm trying to
install a webapp on a box where I can't upgrade.
 
I've deployed my servlet with the attached configuration, and every time
I POST to it, I see the following in mod_jk.log:
 
[jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 
[jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker 
[jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint 
[jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service 
[jk_connect.c (108)]: Into jk_open_socket 
[jk_connect.c (115)]: jk_open_socket, try to connect socket = 8 
[jk_connect.c (124)]: jk_open_socket, after connect ret = 0 
[jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on 
[jk_connect.c (140)]: jk_open_socket, return, sd = 8 
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 8 
[jk_ajp12_worker.c (357)]: Into ajpv12_handle_request 
[jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12
start sequence 
[jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers 
[jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the
terminating mark 
[jk_ajp12_worker.c (445)]: ajpv12_handle_request, sending the request
body 
[jk_ajp12_worker.c (459)]: ajpv12_handle_request, read 717 bytes 
[jk_ajp12_worker.c (467)]: ajpv12_handle_request, sent 717 bytes 
[jk_ajp12_worker.c (472)]: ajpv12_handle_request done 
[jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request 
[jk_ajp12_worker.c (488)]: Into ajpv12_handle_response 
[jk_ajp12_worker.c (498)]: ajpv12_handle_response, error reading header
line 
[jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done
 
 
When I point my browser to http://servername/foo/bar, tomcat gives me
the directory listing.  When my client posts to it (this is for a web
service btw), it gets returned 500 internal server error, and the above
log shows up.
 
Any ideas?
 
Thanks,
Matt
 
 
 
web.xml
-----------
 
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
 
<web-app>
 
    <servlet>
        <servlet-name>Bar</servlet-name>
        <servlet-class>com.foo.BarServlet</servlet-class>
    </servlet>
 
    <servlet-mapping>
        <servlet-name>Bar</servlet-name>
        <url-pattern>/bar</url-pattern>
    </servlet-mapping>
 
</web-app>
 
 
context from server.xml, ajp12 and ajp13 are both enabled.
---------------
<Context path="/foo" docBase="/var/tomcat/webapps/FooServer" debug="9"
reloadable="true"/>

httpd.conf relevant sections
---------------------------------
LoadModule jk_module libexec/mod_jk.so
AddModule mod_jk.c
JkWorkersFile /var/tomcat/conf/workers.properties
JkLogFile /var/tomcat/logs/mod_jk.log
JkLogLevel debug
 
JkMount /foo/* ajp12
 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to