Chapter 10: HTTP Connectors . pollTime: Adjusts the

Chapter 10: HTTP Connectors . pollTime: Adjusts the timing between poll calls. The more frequently these calls are made, the faster the managed sockets will respond to keep alive termination. However, this also results in increased CPU load because of the more frequent polling. The default value specifies the number of poll calls made per second; the default is 2000 (polling 5 ms apart). This means that in the worse case, a socket destined for keep-alive termination may not be detected until 5 ms after its targeted disconnection time. . pollerSize: This is used to control the maximum number of sockets available to the keep-alive poller. Default is 8192. . useSendfile: The default value is true. This is a flag to indicate if the kernel-based sendfile()optimization should be used. . sendfileSize: This is used to control the maximum number of sockets used by the poller for sendfile()-based operations. Default is 1024. On platforms where the sendfile()call returns asynchronously, the poller is not used and the maximum number of concurrent static file transfers may not correspond to this value. Open SSL Support Open SSL is a popular open source SSL library written in optimized C/C++ code, and available on most operating systems, including Windows and *nix/Linux. Open SSL is a very mature library of robust and high-performance code and is used by the industry-leading Apache Web server in its mod_ssl implementation. Because of its popularity, there is a thriving secondary market for enhancements to the library. One of the most interesting areas is the availability of a hardware-accelerated SSL encryption solution that is compatible with OpenSSL. The native APR connector enables Tomcat 6 to take advantage of OpenSSLand all the optimized code and associated acceleration technology. The following additional configuration attributes are available in the APR Connector for customization of OpenSSL: . SSL Enabled: This controls whether the APR Connector will use Open SSLinstead of JSSE (Java Secured Socket Extension a built-in library of Java SE 5) for encryption and decryption. Default is false, meaning that the JSSE implementation will be used. . SSLProtocol: Selects the protocols that may be used by the OpenSSLimplementation to communicate with clients. The default is all and there is little reason to change this. But if you want more precise restrictions on the protocol used, you may set it to SSLv2, SSLv3, TLSv1 , or SSLv2+SSLv3. . SSLCipherSuite: Selects or restricts the cipher that can be used by the OpenSSLimplementation. The default is all; there is little reason to change this. The possible values are documented with OpenSSL; you can check openssl.org/docs/apps/ciphers.html. . SSLCertificateFile: Specifies the file that contains the server-side certificate, encoded in PEM (Base64) format, used by OpenSSL. There is no default value for this property. . SSLCertificateKeyFile: Specifies the file containing the PEM (Base64) encoded server private key for OpenSSLoperations. The default value is set to the same value as the SSLCertifcateFileproperty.

For high quality jboss hosting services please check jboss web hosting website.

Comments are closed.