Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsConcurrencyManager deadlock
https://www.eclipse.org/forums/index.php/mv/msg/226802/705203/#msg_705203
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?
I am not aware of any issues on 2.2, if you include the thread dump of the relevant threads in the deadlock. Also perhaps log a bug with the thread dump and as much detail as possible.
Which of the workaround listed in the FAQ resolve the issue would also help narrow down the issue.
I am not aware of any issues on 2.2, if you include the thread dump of the relevant threads in the deadlock. Also perhaps log a bug with the thread dump and as much detail as possible.
Which of the workaround listed in the FAQ resolve the issue would also help narrow down the issue.