Sun Microsystems 5.1.1 manual Connection Pool Settings, Additional information

Models: 5.1.1

1 114
Download 114 pages 56.55 Kb
Page 53
Image 53

Chapter 5

Section 5.5

Configuring the HTTPS eWay

eWay Environment Properties

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.5Connection 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

A valid numeric value. The

 

physical connections the pool should

default is 1.

 

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.

 

 

 

 

Maximum Pool Size

Specifies the maximum number of

A valid numeric value. The

 

physical connections the pool should

default is 10.

 

keep available at all times. 0 (zero)

 

 

indicates that there is no maximum.

 

 

 

 

Maximum Idle

Specifies the number of seconds that a

A valid numeric value. The

Timeout

physical connection may remain unused

default is 300.

 

before it is closed. 0 (zero) indicates that

 

 

there is no limit.

 

 

 

 

HTTPS eWay Adapter User’s Guide

53

Sun Microsystems, Inc.

Page 53
Image 53
Sun Microsystems 5.1.1 manual Connection Pool Settings, Additional information