Re: Unit Tests hangs on getting connection

2008-09-08 Thread David Blevins


On Sep 5, 2008, at 7:47 AM, Newgro wrote:



Hi again,

i solved it myself. I created multiple tables on @BeforeClass. But i  
didn't

closed the connection after
table create statement was executed. It seems that i've got 10 pooled
connections and then the manager was waiting for next free connection.

I now close the connection after every create table and it works now.

Sorry for annoying the list :-)


No worries.  It might help some future archive searcher.

-David



Re: Unit Tests hangs on getting connection

2008-09-05 Thread Newgro

Hi again,

i solved it myself. I created multiple tables on @BeforeClass. But i didn't
closed the connection after
table create statement was executed. It seems that i've got 10 pooled
connections and then the manager was waiting for next free connection.

I now close the connection after every create table and it works now.

Sorry for annoying the list :-)
Cheers
Per
-- 
View this message in context: 
http://www.nabble.com/Unit-Tests-hangs-on-getting-connection-tp19328527p19332863.html
Sent from the OpenEJB User mailing list archive at Nabble.com.