-
1. Re: Several Connection Pools for CMP
tom Nov 8, 2001 4:52 AM (in response to anichin)Hi,
I use serveral DataSources, but the default one is bound to DefaultDS in jboss.jcml . You might comment
out your HSQL / InstantDB parts.
...
<!--
First load the drivers AS A COMMA SEPERATED LIST !!!!
-->
oracle.jdbc.driver.OracleDriver,com.jnetdirect.jsql.JSQLDriver
<!-- Default database (Oracle on *******) -->
DefaultDS
org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
jdbc:oracle:thin:@**************
**********
**********
<!-- External Database ***** on ****) -->
*******
org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
jdbc:JSQLConnect://*********
*******
******
... -
2. Re: Several Connection Pools for CMP
anichin Nov 13, 2001 11:08 AM (in response to anichin)Thank you. It works.
Another solution I found was to specify
the datasource in jaws.xml file:
java:/OracleDB
<type-mapping>Oracle8</type-mapping>
.... -
3. Re: Several Connection Pools for CMP
foglesa Nov 13, 2001 12:26 PM (in response to anichin)you should also change the standard-jboss.xml if you change the database of the defaultDS, or if you remove it since standard-Jboss.xml uses defaultDS and hypersonic as the mappings.
Al