-
1. Re: connection pool and JCA
darranl May 13, 2004 4:23 AM (in response to yangju)You need to configure JBoss to use its own connection pool.
See Chapter 8 of the getting started guide. -
2. Re: connection pool and JCA
adrian.brock May 13, 2004 8:27 AM (in response to yangju)Or read the WIKI
J2EE has special pooling requirements that the xadatasource or jdbc driver
will not understand. -
3. Re: connection pool and JCA
yangju May 13, 2004 9:55 AM (in response to yangju)Thanks. I am sorry but after I read chap.8 of the get started guide again and wiki page, I still have got the point. I think I know how to config the -ds.xml. What I was asking is:
Jboss does not care if the driver that is provided in datasource can do pooling or XA, JBoss just simply wrap this driver up and use JBoss's own connection pooling mechanism and XA? Therefore I should only need provide a basic jdbc driver without any pooling capability for the datasource?
If this is true, what if I provide a XA-compliant driver? Does it have any difference to JBoss?
Thanks again. -
4. Re: connection pool and JCA
juha May 14, 2004 12:53 AM (in response to yangju)You will still want an XA driver for the database to correctly participate in two phase commit protocol. JBoss won't be able to do that if the driver does not support it.