Under Configuration, click Manage Generic Connector.

21-40 Oracle Fusion Middleware Developers Guide for Oracle Identity Manager

21.4.2 Defining Additional ITResource Parameters

Table 21–6 lists other ITResource parameters for which you should provide appropriate values: Table 21–5 Methods of ResourceConnection Method Description Create Connection This method is called while initializing the pool to create initial number of connections and for pool life-cycle events as needed. A hashmap named itResourceInfoMap is available as parameter with ITResource values to this method. The method returns the ResourceConnection which is the actual physical connection to the target. Close Connection The pool invokes this method when it needs to close a connection in the course of pool life-cycle events. Heartbeat This method is used to maintain the TCP heartbeat or TCP keepalive of the connection to the target. The method keeps the TCP connection alive, so that the connection does not time out from the target side. Validate This method returns true or false to indicate whether the connection is still valid. The Generic Connection Pool invokes the method if validate connection on borrow is set to true. It is invoked for connections that have been in the pool for some time. If the method returns false, the pool will discard that connection, create a new connection, and return to the requester. Table 21–6 ITResource Parameters Field Description Sample Value and Notes Abandoned connection timeout Connection timeout for abandoned connections in seconds. After the timeout elapses, the connection is reclaimed. 900 Connection wait timeout Wait time in seconds for a connection to establish. 60 Inactive connection timeout Connection timeout, in seconds, for inactive connections in the pool that are idle. Note: These are not borrowed connections. 300 Initial pool size Initial number of connections in the pool. 3 Max pool size Maximum number of connections that the pool can create. 30 Min pool size Minimum number of connections that the pool must maintain. 2 Validate connection on borrow Indicates if connections should be validated. See Table 21–5 for a detailed explanation. true or false Timeout check interval Frequency, in seconds, at which to check timeout properties. 30 Pool preference Denotes the preferred pooling mechanism. Default pool implementation is UCP. Default for UCP. Native for Native implementation Connection pooling supported Denotes whether pooling is supported. If pooling is not supported, returned connections will not be pooled connections. Recommended default is true. true or false.