Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JDBC connection pools point to differenct Database

0 views
Skip to first unread message

tom chen

unread,
Mar 12, 2004, 8:43:47 AM3/12/04
to

hi
in the wbs 8.1, we have a default connection pool (cgPool) point to a default
database that has all the system tables for wli and other components in weblogic
platform. i also created another connection pool to point to my database where
i will have my custom tables only. i create a database control which uses the
DataSource that uses this custom pool and do some queries, but a sql exception
was araised because no connection could be created for this pool, and only the
default pool - cgPool has the connection. can anyone tell me why and what is the
best way to set pools. thanks for your help.

Joe Weinstein

unread,
Mar 12, 2004, 10:17:01 AM3/12/04
to tom chen

tom chen wrote:

There should be no problem doing what you want to do. Please turn on jdbc
logging, and show us the jdbc.log file when the server boots up. It should contain
the full error traces of the second pool trying to come up. Once we fix them,
you should be fine. Show me the definitions of the two pools.
Joe

tom chen

unread,
Mar 12, 2004, 1:26:38 PM3/12/04
to

the problem is gone now, although i still don't know why it had the error. i could
not re-porduce the error i had before for you to see. but thanks for the reply.

Slava Imeshev

unread,
Mar 13, 2004, 2:37:03 AM3/13/04
to
"tom chen" <tom....@accenture.com> wrote in message news:4051be93$1...@newsgroups.bea.com...

You can not have multiple TX datasource backed by non-XA pools participating
in a single transaction. You need to use XA drivers for both pools to allow this.

Regards,

Slava Imeshev


0 new messages