5 connection pool settings, Connection pool settings – Sun Microsystems 5.1.1 User Manual
Page 53

Chapter 5
Section 5.5
Configuring the HTTPS eWay
eWay Environment Properties
HTTPS eWay Adapter User’s Guide
53
Sun Microsystems, Inc.
Additional information
Under some circumstances, you can get different Java exceptions, depending on
whether you set this property to True or False. This section explains what causes these
exceptions.
For example, suppose the host name in the URL is localhost, and the host name in the
server certificate is localhost.stc.com. Then, the following conditions apply:
If Verify hostname is set to False:
Host name checking between the requested URL and the server certificate is turned
off.
You can use an incomplete domain host name, for example, https://localhost:444, or
a complete domain host name, for example, https://localhost.stc.com:444, and get a
positive response in each case.
If Verify hostname is set to True:
Host name checking between the requested URL and the server certificate is turned
on.
Note:
If you use an incomplete domain host name, for example, https://localhost:444,
you can get the exception java.io.IOException: HTTPS hostname wrong.
You must use a complete domain host name, for example, https://
localhost.stc.com:444
.
5.5.5
Connection Pool Settings
Connection Pool Settings include the configuration parameters listed in Table 9.
Table 9 Environment Configuration—Connection Pool Settings
Name
Description
Required Value
Steady Pool Size
Specifies the minimum number of
physical connections the pool should
keep available at all times. 0 (zero)
indicates that there should be no physical
connections in the pool and the new
connections should be created as
needed.
A valid numeric value. The
default is 1.
Maximum Pool Size
Specifies the maximum number of
physical connections the pool should
keep available at all times. 0 (zero)
indicates that there is no maximum.
A valid numeric value. The
default is 10.
Maximum Idle
Timeout
Specifies the number of seconds that a
physical connection may remain unused
before it is closed. 0 (zero) indicates that
there is no limit.
A valid numeric value. The
default is 300.