-->
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.  [ 3 posts ] 
Author Message
 Post subject: catch transaction timout in jboss?
PostPosted: Sat Oct 18, 2003 10:47 am 
Beginner
Beginner

Joined: Thu Oct 02, 2003 5:06 am
Posts: 26
Location: Budapest, Hungary
Anyone have an idea how to catch a transaction timout in jboss when using hibernate?
The timeout happens after calling flush(), but no hibernate errors are raised as far as i can tell, only a jboss error, which noone seems able to catch - neither client nor server..... and it would be nice to let the client know that a timeout occurred...
:(

Ati.


Top
 Profile  
 
 Post subject: update... session.flush() not returning, or no error return
PostPosted: Sat Oct 18, 2003 12:50 pm 
Beginner
Beginner

Joined: Thu Oct 02, 2003 5:06 am
Posts: 26
Location: Budapest, Hungary
It seems that sometimes session.flush() returns, and sometimes not if a jboss timeout occurs during the flush. as for what causes which action - no idea. the worst case is when it does return, since no errors are thrown, and the client thinks everything has gone fine - while all inserts have been rolled-back. Ok.. not so great when it doesn't return, since the client just waits forever.

No-one else run into this? please!!!!
Thnx


Top
 Profile  
 
 Post subject: same problem
PostPosted: Tue Jul 19, 2005 4:08 am 
Beginner
Beginner

Joined: Tue Nov 25, 2003 11:55 am
Posts: 23
we've got the same problem - transaction timeout, but no exception or even method return.

hibernate: 2.1.8
jboss: 3.2.3


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

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.