|ConcurrencyManager deadlock [message #705203]
||Fri, 29 July 2011 15:05
| Pedro Oliveira
Registered: May 2011
I'm developing an application using Eclipselink 2.2.0. In the development environment everything work well. However, in the production environment, after some random time (4 hours, 12 hours, 25 hours, etc) the application stop responding to some operations and only run well after a restart of the application. These operations (reads or writes) are all in the same table. Operations in another tables don't have problems.
In the development environment I already simulate several requests (call some web services of the application which interact with the database) but is not easily reproducible. In my tests, I made 60 requests in parallel and repeat them continuously with a period of 100ms. I made this tests several times and the problem only occurred two times. When occurred, I debug the application and saw that the requests are continuously blocked in the ConcurrencyManager, method releaseDeferredLock (loop continously in the "while (true)"). I suspect that there is a query that, for some reason, request the lock and never release it.
Is there anybody that has the same problem and found a solution or even have an ideia of what is the problem?
Powered by FUDForum
. Page generated in 0.01889 seconds