Apache / Mod_Proxy / Tomcat

Apache / Mod_Proxy / Tomcat

am 05.02.2010 23:10:54 von Farid Izem

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 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: Apache / Mod_Proxy / Tomcat

am 06.02.2010 03:01:30 von Igor Cicimov

--00504501416d59fa65047ee4f2a2
Content-Type: text/plain; charset=ISO-8859-1

Check your timeout settings in the apache conf file and set them per your
preferences.

On Feb 6, 2010 9:11 AM, "Farid Izem" 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 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

--00504501416d59fa65047ee4f2a2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Check your timeout settings in the apache conf file and set them per you=
r preferences.


On Feb 6, 2010 9:11 AM, "Farid Izem"=
<> w=
rote:

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 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /webapp ajp://localhost:8009/weba=
pps retry=3D30

ProxyPassReverse =A0 =A0 /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. r>
How could we free these keepalive connections that are being

maintained between Apache and Tomcat.



i tryied

ProxyPass =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 /webapp ajp://localhost:8009/weba=
pps

retry=3D30 disablereuse=3DOn

but this is not recognize.



Can anyone help me ?



Regards,



Farid.



------------------------------------------------------------ ---------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org





--00504501416d59fa65047ee4f2a2--