Hi All,
I am using Hibernate for our application for a long time now. What we noticed that whenever our application is running for a long time (2-3 weeks) without any restart, it gets hang. Later we found its session.beginTransation() call which never returns. It does not throw any exception at any point of time. I am not getting any clue about this. Whats more strange is same call is going through when call internally. For ex. there are 2 methods fun1() and fun2() on a rmi server. fun1() have a session.beginTransaction() statement in it. Due to some reason session.beginTransaction() hangs and call to fun1() from a rmi client never returns. But if I call fun2() which internally calls fun1(), the call is successful and it returns the data. I am trying to debug this for a long time now but no clue at all. This issue occurs after few days only. If anyone can help me to track down this issue, it would be of great help.
|