[jboss-user] [Clustering/JBoss] - Re: MDB fails to deploy when placed in deploy-hasingleton
edungey
do-not-reply at jboss.com
Thu Jul 27 01:08:21 EDT 2006
Here is the datasource definition we are using:
<datasources>
| <local-tx-datasource>
| <jndi-name>DefaultDS</jndi-name>
| <connection-url>jdbc:oracle:thin:@localhost:1521:orcl</connection-url>
| <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
| <user-name>tas</user-name>
| <password>tas</password>
|
| <!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool -->
|
| <!--valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name-->
| <!-- Checks the Oracle error codes and messages for fatal errors -->
| <exception-sorter-class-name>
| org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
| <new-connection-sql>select 1 from dual</new-connection-sql>
| <check-valid-connection-sql>select 1 from dual</check-valid-connection-sql>
| <track-statements>true</track-statements>
| <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
| <metadata>
| <type-mapping>Oracle9i</type-mapping>
| </metadata>
| <max-pool-size>30</max-pool-size>
| </local-tx-datasource>
|
| </datasources>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961181#3961181
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961181
More information about the jboss-user
mailing list