Dustin N. Jenkins wrote:
I'm using the default c3p0 pooling, so I think I'll try adding a c3p0.properties to try and work it out a little bit. My cocoon-ehcache-1.* files both have a size of zero, but I deleted them anyway with no good result. I've never seen this before and I'm worried it's the way my code is working. I'm deleting a collection of entities, then creating a new list of them. I don't explicitly open sessions as everything is taken care of via Spring and carried over to Cocoon with the OpenSessionInViewFilter.
Just for "fun" try switching to DBCP and see if your error occurs. Here you have a configuration snippet.

<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
        <property name="driverClassName">
                <value>${db.driver}</value>
        </property>
        <property name="url">
                <value>${db.url}</value>
        </property>
        <property name="username">
                <value>${db.username}</value>
        </property>
        <property name="password">
                <value>${db.password}</value>
        </property>
</bean>

--
Leszek Gawron                                      [EMAIL PROTECTED]
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to