BEA WebLogic Server 7 Manual de servicio Pagina 341

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 545
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 340
JDBC Configuration Guidelines for Connection Pools, MultiPools and DataSources
Administration Guide 16-15
The following attributes are an example of a Tx Data Source configuration using the
WebLogic jDriver for Oracle in XA mode.
You can also configure the JDBC Connection Pool to use a third-party vendor’s driver
in XA mode. In such cases, the data source properties are set via reflection on the
XADataSource instance using the JavaBeans design pattern. In other words, for
property
abc, the XADataSource instance must support get and set methods with the
names
getAbc and setAbc, respectively.
The following attributes are an example of a JDBC Connection Pool configuration
using the Oracle Thin Driver.
Table 16-9 WebLogic jDriver for Oracle/XA: Tx Data Source
Attribute
Name Attribute Value
Name
fundsXferData Source
Targets
myserver
JNDIName
myapp.fundsXfer
PoolName
fundsXferAppPool
Table 16-10 Oracle Thin Driver: Connection Pool Configuration
Attribute
Name Attribute Value
Name
jtaXAPool
URL
jdbc:oracle:thin:@baybridge:1521:bay817
Targets
myserver,server1
DriverClassname
oracle.jdbc.xa.client.OracleXADataSource
Initial Capacity
1
MaxCapacity
20
CapacityIncrement
2
Properties
user=scott
password=tiger
Vista de pagina 340
1 2 ... 336 337 338 339 340 341 342 343 344 345 346 ... 544 545

Comentarios a estos manuales

Sin comentarios