Connection pool custom properties

You can use the custom properties page to define the following connection pool custom properties:

defaultConnectionTypeOverride

You can use the defaultConnectionTypeOverride connection pool custom property for a particular connection factory or data source to control connection sharing.

The defaultConnectionTypeOverride property changes the default sharing value for a connection pool. This property enables you to control connection sharing for direct look-ups. If resource references are configured for a data source or connection factory they take precedence over this property and the resource reference settings are used. For example, if an application is doing direct look-ups, and you do not want shared connections, set this property to unshared.

Information Value
Data Type String
Value unshared, shared

globalConnectionTypeOverride

You can use the globalConnectionTypeOverride connection pool custom property to globally control connection sharing for a particular connection factory or data source.

The value specified for the globalConnectionTypeOverride custom property takes precedence over all of the other connection sharing settings. For example, if you set this property to unshared, all connection requests are unshared for both direct look-ups and resource reference lookups.

This property provides you with a quick way to test the consequences of moving all connections for a particular data source or connection factory to unshared or shared without changing the resource reference settings.

If you specify values for both the defaultConnectionTypeOverride and the globalConnectionTypeOverride properties, only the value that is specified for the globalConnectionTypeOverride property is used to determine connection sharing type.

Information Value
Data Type String
Value unshared, shared

maxNumberOfMCsAllowableInThread

The maxNumberOfMCsAllowableInThread property assists in detecting higher than expected usage of a number of managed connections on a thread.

Information Value
Data Type Integer
Value 1-30

For more information on how these properties are used, see the topic, Tuning connection pools.


指出主題類型的圖示 參照主題



時間戳記圖示 前次更新: July 9, 2016 8:09
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-base-dist&topic=rdat_conpoolcustprops
檔名:rdat_conpoolcustprops.html