-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dimitar,

On 10/18/2011 10:50 PM, Dimitar Georgievski wrote:
>> SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1
> This setting should control the mod_http_proxy connections. I
> forgot to mention this Apache server does that.

My reading suggests that it controls mod_proxy, which should be the
same for all mod_proxy_*. The documentation for mod_proxy_ajp is
woefully slim. Sure, you can learn all about the AJP protocol, just
not how to configure the proxy in httpd.conf :(

> I'll definitely take out these settings, because the http proxy
> connections should also be persistent.

Okay. Did it work? Seems like a simple test to make.

> Regarding the upgrade of the Tomcat server we might not be able to
> do that. The application hosted by Tomcat has dependency on the
> Tomcat 5.5.x version which limits our options. I'll need to
> determine yet which version would be compliant with our
> application.

If you have dependencies on Tomcat code, it's best to replace those
with standards-compliant code. Maybe we could help with that kind of
thing.

As for 5.5 -> 6.0 -> 7.0 upgrades, I have recent done that exact thing
and have had no problems whatsoever. Tomcat *should* be
backward-compatible with previous releases, but there are some gotchas
to be found when the TC code has become more spec-compliant or more
cranky about certain bad configurations that it used to allow.

As with any upgrade, always read the release notes / changelog carefully.

> I am also considering to install Apache Portable Runtime to
> improve connectors performance and determine its effects on the
> persistence of the proxy connections. What do you think?

If you expect high concurrency, try using the NIO connector(s): they
should scale better and have the advantage of being all Java, so you
have less risk of crashing your JVM if something goes wrong (though
the APR AJP connector /is/ pretty rock-solid).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6e3kYACgkQ9CaO5/Lv0PDtEgCeJTRF7GujmZefSjofidEDJOf2
wxUAnj/Sjt4fFXbs3cdCsnqZCQaz5SMl
=LlVh
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to