This content has been marked as final.
Show 1 reply
-
1. Re: Throwable while attempting to get a new connection: null
chwang Mar 22, 2006 11:23 AM (in response to chwang)I use MS SqL and the jdbc driver is jtds1.2.
When I decreased to 20 threads running is fine.
the following is my -ds.xml file. I wonder if I also need to set rar. Thank you,<datasources> <no-tx-datasource> <jndi-name>MY_DS</jndi-name> <connection-url>jdbc:jtds:sqlserver://localhost/myds</connection-url> <driver-class>net.sourceforge.jtds.jdbc.Driver</driver-class> <user-name>sa</user-name> <password>sa</password> <min-pool-size>5</min-pool-size> <max-pool-size>75</max-pool-size> <idle-timeout-minutes>15</idle-timeout-minutes> <check-valid-connection-sql>SELECT * FROM Group</check-valid-connection-sql> </no-tx-datasource> </datasources>