-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tony,
On 7/19/2010 5:21 PM, Tony Anecito wrote: > First off I get a little red x in the upper left hand corner of the web page. For the whole page? I thought this was an image problem. > Yep I agree maybe an upgrade to the latest Tomcat and APR might accomplish > fixing the problem but silly me I like to understand an issue before I > upgrade. Upgrading is a good idea, but is unlikely to magically fix everything. I'm unaware of any huge bugs in Tomcat 6.0.20 like "web server doesn't work at all". > APR==httpd at least that is what the Apache Web site says and the acronym I > put > up on the title page is about. The Apache Web server group disavow any > knowledge > of APR since they say the Tomcat Group developed to to replace Apache Web > Server. APR != httpd The "Tomcat Group" neither developed APR nor did they do it to undercut anything the httpd group is doing. On the contrary, libapr is a project to help many other projects, including httpd itself. http://apr.apache.org/ http://apr.apache.org/projects.html http://en.wikipedia.org/wiki/Apache_Portable_Runtime > What little info I could find seems to indicate APR uses the ROOT directory > under Webapps for html based apps. APR does nothing of the sort. APR essentially provides two major capabilities to Tomcat: 1. SSL services using OpenSSL library instead of Java-based SSL 2. "Sendfile" services to serve static content directly from disk-to-socket with minimal overhead Both of these features are configured on a <Connector> in Tomcat and will work with any webapp deployed into the container. It has nothing to do with ROOT or any other specific webapp. > I will probably go back to Apache Web server as a separate tier. I was trying > to > get better performance using APR + Tomcat and saw some but not enough to > justify > the advantages of a seperate tier. Apache httpd + Tomcat will always be slower than simply using Tomcat + APR/sendfile because of the overhead involved in forwarding the requests back and forth. The only exception might be a site which is almost exclusively static content and only one or two dynamic resources. In that case, I might ask why that person was using Java in the first place ;) There certainly are reasons to use Apache httpd out in front of Tomcat, but performance isn't one of them. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxEyOAACgkQ9CaO5/Lv0PD+ngCdGoi80vMKrjB7UMP9kQKyLaS3 X/UAnjslqqAnc7796Xr14ic5cDEckPYl =vtNH -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org