Additional info....I'm trying to use proxool 0.90RC2
I placed the following in my hibernate.hbm.xml:
Code:
<property name="proxool.pool_alias">vsuite</property>
<property name="proxool.properties">FrameworkAPI.properties</property>
and I placed the following in the properties file which is in my classpath:
Code:
jdbc-vsuite2.proxool.alias=vsuite
jdbc-vsuite2.proxool.driver-class=........
jdbc-vsuite2.proxool.driver-url=jdbc:....
jdbc-vsuite2.user=.....
jdbc-vsuite2.password=.....
jdbc-vsuite2.proxool.maximum-connection-count=50
jdbc-vsuite2.proxool.house-keeping-test-sql=select 1 from dual
jdbc-vsuite2.proxool.house-keeping-sleep-time=30000
jdbc-vsuite2.proxool.test-before-use=true
jdbc-vsuite2.proxool.test-after-user=false
I get the following:
Code:
[4/11/06 15:14:33:766 EDT] 335a3a76 ProxoolConnec I org.hibernate.connection.ProxoolConnectionProvider Configuring Proxool Provider using Properties File: FrameworkAPI.properties
[4/11/06 15:14:33:797 EDT] 335a3a76 ProxoolFacade I org.logicalcobwebs.proxool.ProxoolFacade Proxool 0.9.0RC2 (23-Mar-2006 23:39)
[4/11/06 15:14:33:953 EDT] 335a3a76 ProxoolConnec I org.hibernate.connection.ProxoolConnectionProvider Configuring Proxool Provider to use pool alias: proxool.vsuite
[4/11/06 15:14:33:953 EDT] 335a3a76 ProxoolConnec I org.hibernate.connection.ProxoolConnectionProvider autocommit mode: false
[4/11/06 15:14:33:953 EDT] 335a3a76 ProxoolDriver E org.logicalcobwebs.proxool.ProxoolDriver Problem
[4/11/06 15:14:33:969 EDT] 335a3a76 ProxoolDriver E org.logicalcobwebs.proxool.ProxoolDriver TRAS0014I: The following exception was logged org.logicalcobwebs.proxool.ProxoolException: Attempt to refer to a unregistered pool by its alias 'vsuite'
at org.logicalcobwebs.proxool.ConnectionPoolDefinition.doChange(ConnectionPoolDefinition.java:250)
at org.logicalcobwebs.proxool.ConnectionPoolDefinition.<init>(ConnectionPoolDefinition.java:147)
I've tried various combinations of pool name with and without "proxool.", but no luck