Provide APR based Apache Tomcat Native library

Bug #300699 reported by Thierry Carrez
2
Affects Status Importance Assigned to Milestone
tomcat6 (Ubuntu)
Invalid
Wishlist
Unassigned

Bug Description

Binary package hint: tomcat6

Starting Tomcat 6 results in the following INFO message in the logs:
APR based Apache Tomcat Native library which allows optimal performance in production environments was not found...

According to http://tomcat.apache.org/tomcat-6.0-doc/apr.html :
Tomcat can use the Apache Portable Runtime to provide superior scalability, performance, and better integration with native server technologies. [...] When APR is enabled, the HTTP connector will use sendfile for hadling large static files (all such files will be sent ansychronously using high performance kernel level calls), and will use a socket poller for keepalive, increasing scalability of the server. [...] The HTTPS connector will use a socket poller for keepalive, increasing scalability of the server. It also uses OpenSSL, which may be more optimized than JSSE depending on the processor being used, and can be complemented with many commercial accelerator components. [...] The AJP connector will use a socket poller for keepalive, increasing scalability of the server. As AJP is designed around a pool of persistent (or almost persistent) connections, this will reduce significantly the amount of processing threads needed by Tomcat.

All that seems good to have.

Thierry Carrez (ttx)
Changed in tomcat6:
importance: Undecided → Wishlist
Revision history for this message
Thierry Carrez (ttx) wrote :

Package tomcat-native handles this. We should just make sure it is compatible with tomcat6.

Changed in tomcat6:
status: New → Invalid
Revision history for this message
Dave Vree (hdave) wrote :

There is not package tomcat-native that I can see. The following works however:

sudo aptitude install libtcnative-1

This bug also applies to the tomcat6-user package. Why don't we just have tomcat6 and tomcat6-user recommend libtcnative-1?

Changed in tomcat6 (Ubuntu):
status: Invalid → New
Revision history for this message
Thierry Carrez (ttx) wrote :

tomcat-native is the name of the source package:
https://launchpad.net/ubuntu/+source/tomcat-native

libtcnative-1 is the name of the binary package. I agree that tomcat6 could at least suggest the use of libtcnative-1. This has nothing to do with this bug though. Could you please open another bug against tomcat6 about how it should suggest usage of libtcnative-1, if only for discoverability reasons ?

Changed in tomcat6 (Ubuntu):
status: New → Invalid
Revision history for this message
Dave Vree (hdave) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.