Asset Bank is hanging and I am using Apache with AJP proxying

If you are:

  • Using Apache
  • Using AJP proxying (you have an ajp:// URL in your ProxyPass directive)
  • Using the Worker MPM (as opposed to the Prefork MPM). On Debian, use "dpkg -s apache2-mpm-worker apache2-mpm-prefork" to check which is installed.
and you are experiencing the following issues:
  • Requests time out or are very slow when accessing Asset Bank via Apache, but are fast when accessing Asset Bank via Tomcat directly.
  • You see one or more of the following messages in the Apache error log:
    [error] ajp_read_header: ajp_ilink_receive failed
    [error] (120006)APR does not understand this error code: proxy: read response failed from (null) (localhost)

    [error] (104)Connection reset by peer: ajp_ilink_receive() can't receive header

    [error] (70007)The timeout specified has expired: ajp_ilink_receive() can't receive header

then the problem may be caused by a bug with AJP proxying in some versions of Apache.

You can work around this bug by using the Prefork MPM. On Debian, you can switch to the prefork MPM by issuing the command:

 sudo apt-get install apache2-mpm-prefork

Was this article helpful?

Yes No

Thanks for your feedback!