Chapter 6: Advanced Tomcat Features Figure 6-8: No role-typed MBean is available when lifecycle listeners are disabled. Adding APR Lifecycle Listener and Native SSL Engine Configuration Apache Portable Runtime (APR) is a platform-specific binary library that Tomcat 6 can make use of to boost its Web server performance. The following line in server.xml loads the APR support class, initializes the APR library, and turns on its SSL engine: There exists a single configurable attribute associated with the AprLifecycleListener in Tomcat 6, called SSLEngine. The default value of SSLEngine, if not specified, is on. The following table summarizes the listener configuration. Attribute Description Required? className SSLEngine A listener class that loads and initializes the APR library. This is set to org.apache.catalina.core.AprLifecycleListener. Can be set to on, off, or a specific SSL engine name supported by the APR library. Default is on. This attribute can be useful if you are using OpenSSL native code based SSL implementation and/or a hardware-accelerated SSL solution. Yes No In addition to initialization, the AprLifecycleListener listener also intercepts the after stop event of the server component and calls the terminate method of the APR library to give it a chance to clean itself up.
If you looking for unlimited one inclusive web hosting plan please check web hosting plan website.
This entry was posted
on Tuesday, March 24th, 2009 at 9:21 pm and is filed under tomcat.
You can follow any responses to this entry through the RSS 2.0 feed.
Responses are currently closed, but you can trackback from your own site.