Im use to use DBCP in Struts 1.1RC1
but then mo back to GenericDataSource in Struts 1.1RC2

but it seem's im having a problem with it. According to my console it seem's generic 
source is lopping endlessly...
429796 [tcp-accept-6802] INFO util.GenericDataSource  -    createConnection()
429812 [tcp-accept-6802] INFO util.GenericDataSource  -    Return new connection, 
activeCount=5, useCount=123
429812 [tcp-accept-6802] INFO util.GenericDataSource  -   getConnection()
429812 [tcp-accept-6802] INFO util.GenericDataSource  -    Check for timeout, 
activeCount=4, useCount=123
....

my data-source configuration in my struts-config.xml looks like this:
  <data-source key="DATASOURCE">  
   <set-property property="driverClass" value="com.mysql.jdbc.Driver" />
   <set-property property="url" value="jdbc:mysql://localhost/crmdev" />
   <set-property property="maxCount" value="10" />
   <set-property property="minCount" value="5" />
   <set-property property="user" value="root" />
   <set-property property="password" value="password" />
  </data-source>

....
has anybody experienced this before? what do i have to do to make it work?
or should i really change my datasource? i was thinking og using DBConnectionBroker? 
any ideas?

thanks.

Reply via email to