openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CarpathianAnonymous <andreibratu2...@yahoo.com>
Subject Threads blocked in Unsafe.park
Date Mon, 04 Jun 2012 13:27:02 GMT
Hello

I want the following problem:

While using OpenJPA with <property name="openjpa.Multithreaded"
value="true"/> i found myself having some threads waiting in "Unsafe.park"
state (see picture below). The blocking appears to happend on commit.

I'm using an EntityManager which does not allow any transaction.begin()
between a transaction.begin() & transaction.commit(). Also there is no
exception thrown.




http://openjpa.208410.n2.nabble.com/file/n7580200/blocking_commit_stack.png 

--
View this message in context: http://openjpa.208410.n2.nabble.com/Threads-blocked-in-Unsafe-park-tp7580200.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message