Karen,

I haven't seen this but then again our tests run under 60 seconds.

Moreover, do you have a stack trace? Because if you did the Stripersist code is quite compact and might offer clues as to what is happening.

Also are you accessing your DB in these tests via connection pooling? If so, perhaps there is something in there that gets reset after 90 seconds.

HTH,

--Nikolaos



Karen wrote:

Hi everybody,

I have a few JUnit test that use net.sourceforge.stripes.mock.MockServletContext to test some persistent classes that use Stripersist, but when the unit test runs long then after about 90 seconds, the Hibernate EntityManagerFactory gets terminated (without any clear reason in the log that explains why).

Anybody has experienced the same issue?

------------------------------------------------------------------------

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ------------------------------------------------------------------------

_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to