This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Transaction timeouts behaviour - explanation needed Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "Transaction timeouts behaviour - explanation needed" Watch "Transaction timeouts behaviour - explanation needed" New topic
Author

Transaction timeouts behaviour - explanation needed

vasiniy pupkin
Greenhorn

Joined: Apr 05, 2012
Posts: 2
Hello all,

I'm a newbie to Weblogic and would like to understand how transaction timeouts work in Weblogic. I have a EJB2 application running under Weblogic 10.3 and using Oracle 11g database via thin jdbc driver.
I noticed that if I set trans-timeout-seconds in deployment descriptor it terminates sql queries if they overflow the limit. Say I have timeout set to 10 seconds, it will stop executing sql query after that time and immediately return exception to caller of the current EJB method. This is just perfect!
What I want is to understand how that is done, does it proxy driver somehow? Will it work with other databases, Postgresql for example?
Can I port same behavior to other app servers, JBoss for example.

Thank you in advance.
vasiniy pupkin
Greenhorn

Joined: Apr 05, 2012
Posts: 2
Any ideas?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Transaction timeouts behaviour - explanation needed
 
Similar Threads
How to catch EJB Transaction Timeout?
*URGENT* Boundary of trans-timeout-seconds
Weblogic 6.0 connection get stuck
EJB 3 TransactionTimeout annotation needed
how can I specify EJB timeout?