-
1. Re: multiple database connection pools
oravecz Mar 27, 2002 4:11 PM (in response to xpgao)That's the way you do it. We have several pools defined. nothing tricky.
-
2. Re: multiple database connection pools
xpgao Mar 27, 2002 4:25 PM (in response to xpgao)Many thanks for your reply.
I used the JBoss-Jetty(JBoss-2.4.4_Jetty-3.1.3-1). It hungs after
[INFO,DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS.
Which one do you use?
Xiaoping -
3. Re: multiple database connection pools
pluellen Apr 11, 2002 3:32 PM (in response to xpgao)Xiaoping,
If it's any consolation, I'm having the same difficulty.
I'm using Jboss-2.4.4 and am trying to see if (for instance) I can run both the Hypersonic datasource that comes with JBoss as the DefaultDS and DB2 SAMPLE as an additional datasource. I'm able to run them both individually no problem. I'm also able to run JBoss to access two separate DB2 databases at the same time - no problem.
However, when I have two different JdbcProviders defined in my jboss.jcml file, JBoss hangs at startup at the same place yours does - [INFO,DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS.
I'll keep digging and let you know if I find anything.
Pete -
4. Re: multiple database connection pools
pluellen Apr 12, 2002 2:41 PM (in response to xpgao)Xiaoping,
Take a look at David Jencks' response to my query topic "multiple JdbcProviders". -
5. Re: multiple database connection pools
davidjencks Apr 12, 2002 6:29 PM (in response to xpgao)The other thing you have to be careful about is to make sure the XADataSourceLoader mbeans have different ObjectNames. That gets me periodically when I duplicate an mbean config and forget to make a new name.