-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Call to session.beginTransaction() hangs for indefinite time
PostPosted: Mon Oct 12, 2009 8:13 am 
Newbie

Joined: Mon Aug 06, 2007 10:00 am
Posts: 7
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.