httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Errors with 2.2.4/mod_proxy_ajp and tomcat 5.5
Date Thu, 28 Jun 2007 12:52:40 GMT
> -----Original Message-----
> From: Gunther Mayer [mailto:gunther.mayer@googlemail.com] 
> Sent: Thursday, June 28, 2007 1:49 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] Errors with 2.2.4/mod_proxy_ajp and tomcat 5.5
> 
> Hi there,
> 
> I do the sysadmin for a relatively new site and our apache 2.2.4 is 
> serving some static&php content while our main application is 
> served by 
> jboss-4.0.5 which is bundled with tomcat 5.5. I set this up a 
> few months 
> ago and investigated mod_proxy_ajp vs mod_jk and decided to 
> go with the 
> former as it seems like the way to do it in future.
> 
> However, I get spurious errors in my logs many times a day:
> 
> [Thu Jun 28 11:33:43 2007] [error] [client 41.204.199.248] 
> proxy: error 
> processing body, referer: 
> https://myserver.com/myapp/purchase.jsp?cid=5
> 21&clr=true
> [Thu Jun 28 11:33:43 2007] [error] proxy: got bad response (5) from 
> [::1]:8009 (localhost)

I guess these errors are coming out of mod_proxy as it tries to parse
the response from tomcat. So it looks more like a problem at the tomcat
side...

- what do you see in the tomcat logs?
- what response code appears in the apache access log?
- what does the browser display (if you can reproduce these errors)?

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> As you can see tomcat is running on the same machine as apache. My 
> apache is prefork with the following relevant configuration:
> 
> <IfModule mpm_prefork_module>
>     StartServers          5
>     MinSpareServers      10
>     MaxSpareServers     100
>     MaxClients         1000
>     MaxRequestsPerChild   0
> </IfModule>
> 
> ProxyRequests Off
> ProxyPass /myapp ajp://localhost:8009/myapp min=4 max=100 smax=40
> ProxyPassReverse /myapp ajp://localhost:8009/myapp
> 
> Any idea what could be wrong??? I've searched google up and down and 
> came across a couple of related bugs, all of which are either 
> fixed in 
> 2.2.4 or don't apply to my situation (prefork & no fancy load 
> balancing 
> or clustering).
> 
> Gunther
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message