cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <>
Subject Re: Cocoon Hangs with OpenSessionInViewFilter
Date Sat, 03 Sep 2005 11:22:12 GMT
Dustin N. Jenkins wrote:
> I'm using the default c3p0 pooling, so I think I'll try adding a 
> 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" 
	<property name="driverClassName">
	<property name="url">
	<property name="username">
	<property name="password">

Leszek Gawron                            
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                    
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message