-->
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: Transaction setTimeout has no effect to weblogic JTA Timeout
PostPosted: Wed Jul 25, 2007 8:29 am 
Newbie

Joined: Thu Aug 24, 2006 11:10 am
Posts: 16
I'm using hibernate 3.2.1 joining weblogic 9.2 and JTATransaction.
In my application I have a initialisation step in which needs a long transaction ~10 Minutes until it is finished. I don't want to change the default JTA Timeout configuration in weblogic (30 seconds) therefore I want to set the timeout manually in the application in this way.

trans = session.getTransaction();
trans.setTimeout(600); //10 minutes
trans.begin();
....

This is exactly the way I found in the hibernate documentation, but it seems that weblogic ignores this timeout and always uses its default of 30 seconds.

Do I something wrong? Any help is welcome.

Cheers
Meinolf


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.