users@glassfish.java.net

timeout issue with ajp and mod_proxy

From: <glassfish_at_javadesktop.org>
Date: Thu, 20 Nov 2008 02:15:10 PST

Hi all.

I am currently using glassfish fronted by apache. I followed these posts for mod_jk

http://weblogs.java.net/blog/jfarcand/archive/2006/03/running_glassfi_1.html
http://weblogs.java.net/blog/amyroh/archive/2006/08/glassfish_suppo.html

I then swapped using mod_jk for using mod_proxy and mod_proxy_ajp

i.e.
ProxyPass / ajp://localhost:7009/

However, on long request ( that I know will take more than 2 minutes ) the page times out.

In the apache error log I see
[Thu Nov 20 10:53:45 2008] [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header
[Thu Nov 20 10:53:45 2008] [error] ajp_read_header: ajp_ilink_receive failed
[Thu Nov 20 10:53:45 2008] [error] (120006)APR does not understand this error code: proxy: read response failed from 127.0.0.1:7009 (localhost)

Can someone tell me where I can configure the timeout correctly for this.

Thanks

Paul.
[Message sent by forum member 'paulhussein' (paulhussein)]

http://forums.java.net/jive/thread.jspa?messageID=317807