I don't think it's a timeout, here is debug-level jk.log for this session:
[Fri Dec 13 11:42:47 2002] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Fri Dec 13 11:42:47 2002] [jk_uri_worker_map.c (368)]: Attempting to map URI '/main/sendobject.html'
[Fri Dec 13 11:42:47 2002] [jk_uri_worker_map.c (391)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -> /
[Fri Dec 13 11:42:47 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp13
[Fri Dec 13 11:42:47 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker
[Fri Dec 13 11:42:47 2002] [jk_ajp13_worker.c (865)]: Into jk_worker_t::get_endpoint
[Fri Dec 13 11:42:47 2002] [jk_ajp13_worker.c (775)]: Into jk_endpoint_t::service
[Fri Dec 13 11:42:47 2002] [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Fri Dec 13 11:42:47 2002] [jk_ajp13.c (537)]: ajp13_marshal_into_msgb - Done
[Fri Dec 13 11:42:47 2002] [jk_ajp13_worker.c (206)]: sending to ajp13 #546
[Fri Dec 13 11:42:47 2002] [jk_ajp13_worker.c (645)]: send_request 2: request body to send 0 - request body to resend 0
>[Fri Dec 13 11:42:47 2002] [jk_ajp13_worker.c (228)]: connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
>[Fri Dec 13 11:42:47 2002] [jk_ajp13_worker.c (712)]: Error reading reply
>[Fri Dec 13 11:42:47 2002] [jk_ajp13_worker.c (845)]: In jk_endpoint_t::service, get_reply failed in send loop 0
[Fri Dec 13 11:42:47 2002] [jk_connect.c (108)]: Into jk_open_socket
[Fri Dec 13 11:42:47 2002] [jk_connect.c (115)]: jk_open_socket, try to connect socket = 8
[Fri Dec 13 11:42:47 2002] [jk_connect.c (124)]: jk_open_socket, after connect ret = 0
[Fri Dec 13 11:42:47 2002] [jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
[Fri Dec 13 11:42:47 2002] [jk_connect.c (140)]: jk_open_socket, return, sd = 8
[Fri Dec 13 11:42:47 2002] [jk_ajp13_worker.c (189)]: In jk_endpoint_t::connect_to_tomcat, connected sd = 8
[Fri Dec 13 11:42:47 2002] [jk_ajp13_worker.c (206)]: sending to ajp13 #546
[Fri Dec 13 11:42:47 2002] [jk_ajp13_worker.c (645)]: send_request 2: request body to send 0 - request body to resend 0
[Fri Dec 13 11:42:48 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #277
[Fri Dec 13 11:42:48 2002] [jk_ajp13.c (584)]: ajp13_unmarshal_response: status = 200
[Fri Dec 13 11:42:48 2002] [jk_ajp13.c (591)]: ajp13_unmarshal_response: Number of headers is = 6
[Fri Dec 13 11:42:48 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[0] [Date] = [Fri, 13 Dec 2002 09:42:47 GMT]
[Fri Dec 13 11:42:48 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[1] [Server] = [Jetty/4.1.3 (Linux 2.4.18-0.22smp i386)]
[Fri Dec 13 11:42:48 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[2] [Servlet-Engine] = [Jetty/4.1.3 (Servlet 2.3; JSP 1.2; java 1.4.1)]
[Fri Dec 13 11:42:48 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[3] [Expires] = [Fri, 13 Dec 2002 09:42:47 GMT]
[Fri Dec 13 11:42:48 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[4] [Cache-Control] = [no-cache]
[Fri Dec 13 11:42:48 2002] [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[5] [Content-Type] = [text/html; charset=UTF-8]
[Fri Dec 13 11:42:48 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #8188
[Fri Dec 13 11:42:48 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #5957
[Fri Dec 13 11:42:48 2002] [jk_ajp13_worker.c (258)]: received from ajp13 #2
[Fri Dec 13 11:42:48 2002] [jk_ajp13_worker.c (549)]: Into jk_endpoint_t::done
BTW setting MaxIdletime to -1 results in:
2002-12-13 11:51:48,101 WARN [org.jboss.jbossweb] WARNING:
java.lang.IllegalArgumentException: timeout value is negative
at java.lang.Object.wait(Native Method)
at org.mortbay.util.BlockingQueue.get(BlockingQueue.java:133)
at org.mortbay.util.ThreadPool.getJob(ThreadPool.java:547)
at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:678)
at java.lang.Thread.run(Thread.java:536)
-----Original Message-----
From: Greg Wilkins [mailto:gregw@xxxxxxxxxxx]
Sent: Friday, December 13, 2002 10:32
To: jetty-support@xxxxxxxxxxxxxxx; Alexey Yudichev
Subject: Re: [jetty-support] problems with mod_jk
I think this may just be jetty timing out the connection.
Try increasing the maxIdletime on the AJP13 listener. I think it may be
best to let mod_jk manage the idling of connections, so try making it very large or -1
cheers
Alexey Yudichev wrote:> Which version of mod_jk is tested with jetty 4.1.3 and apache 1.3? I am
> using the one that comes with Tomcat 3.3.1 and sometimes see the
> following in jk.log:
>
> [Thu Dec 12 16:56:53 2002] [jk_ajp13_worker.c (228)]:
> connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
>
> [Thu Dec 12 16:56:53 2002] [jk_ajp13_worker.c (712)]: Error reading reply
> [Thu Dec 12 16:56:53 2002] [jk_ajp13_worker.c (845)]: In
> jk_endpoint_t::service, get_reply failed in send loop 0
>
>
> For the latest information about Jetty, please see http://jetty.mortbay.org
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/>.
--
Greg Wilkins<gregw@xxxxxxxxxxx> Phone/fax: +44 7092063462
Mort Bay Consulting Australia and UK. http://www.mortbay.com
For the latest information about Jetty, please see http://jetty.mortbay.org
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.