You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Farid Izem <fa...@gmail.com> on 2010/02/05 23:10:54 UTC

[users@httpd] Apache / Mod_Proxy / Tomcat

Hi,

I have setup an Apache Web Server in front of a Tomcat Web Container.
Basically, All request are handle by Apache and passed to Tomcat using
mod_proxy_ajp
Apache is binded on the IP address of the computer, tomcat is binded
on localhost:8009
When i take a look at the tomcat manager, i see that a lot of Tomcat
Thread with the status keepalive from the same source IP address.

The main configuration of :
ProxyPass                 /webapp ajp://localhost:8009/webapps retry=30
ProxyPassReverse     /webapp ajp://localhost:8009/webapps

Would it be possible to free the connection from Apache Server to
Tomcat server ?
Netstat show a lot of established connections but there is not data sent.
How could we free these keepalive connections that are being
maintained between Apache and Tomcat.

i tryied
ProxyPass                 /webapp ajp://localhost:8009/webapps
retry=30 disablereuse=On
but this is not recognize.

Can anyone help me ?

Regards,

Farid.

---------------------------------------------------------------------
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


Re: [users@httpd] Apache / Mod_Proxy / Tomcat

Posted by Igor Cicimov <ic...@gmail.com>.
Check your timeout settings in the apache conf file and set them per your
preferences.

On Feb 6, 2010 9:11 AM, "Farid Izem" <fa...@gmail.com> wrote:

Hi,

I have setup an Apache Web Server in front of a Tomcat Web Container.
Basically, All request are handle by Apache and passed to Tomcat using
mod_proxy_ajp
Apache is binded on the IP address of the computer, tomcat is binded
on localhost:8009
When i take a look at the tomcat manager, i see that a lot of Tomcat
Thread with the status keepalive from the same source IP address.

The main configuration of :
ProxyPass                 /webapp ajp://localhost:8009/webapps retry=30
ProxyPassReverse     /webapp ajp://localhost:8009/webapps

Would it be possible to free the connection from Apache Server to
Tomcat server ?
Netstat show a lot of established connections but there is not data sent.
How could we free these keepalive connections that are being
maintained between Apache and Tomcat.

i tryied
ProxyPass                 /webapp ajp://localhost:8009/webapps
retry=30 disablereuse=On
but this is not recognize.

Can anyone help me ?

Regards,

Farid.

---------------------------------------------------------------------
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