Managing Connector Connection Pools

On Any Failure

If you select the checkbox labelled Close All

 

Connections, if a single connection fails, then the

 

application server will close all connections in the

 

pool and then reestablish them. If you do not select

 

the checkbox, then individual connections will be

 

reestablished only when they are used.

 

 

Transaction Support

Use the Transaction Support list to select the type of

 

transaction support for the connection pool. The

 

chosen transaction support overrides the transaction

 

support attribute in the resource adapter associated

 

with this connection pool in a downward compatible

 

way. In other words, it can support a lower transaction

 

level than that specified in the resource adapter or the

 

same transaction level as that specified in resource

 

adapter, but it cannot specify a higher level. The

 

transaction support options include the following.

 

The None selection from the Transaction Support

 

menu indicates that the resource adapter does not

 

support resource manager local or JTA transactions

 

and does not implement XAResource or

 

LocalTransaction interfaces. For JAXR resource

 

adapters, you need to choose None from the

 

Transaction Support menu. JAXR resource adapters

 

do not support local or JTA transactions. Local

 

transaction support means that the resource adapter

 

supports local transactions by implementing the

 

LocalTransaction interface. Local transactions are

 

managed internal to a resource manager and involve

 

no external transaction managers. XA transaction

 

support means that the resource adapter supports

 

resource manager local and JTA transactions by

 

implementing the LocalTransaction and

 

XAResourceinterfaces. XA transactions are controlled

 

and coordinated by a transaction manager external to

 

a resource manager. Local transactions are managed

 

internal to a resource manager and involve no

 

external transaction managers.

 

 

Connection Validation

Select the Required checkbox to enable connection

 

validation.

 

 

4Click Save.

5Click Load Defaults if you want to restore the default values of all the settings.

84

Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008

Page 84
Image 84
Sun Microsystems 820433510 manual Same transaction level as that specified in resource