File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Transaction timeout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Transaction timeout" Watch "Transaction timeout" New topic

Transaction timeout

Sharon whipple
Ranch Hand

Joined: Jul 31, 2003
Posts: 294
Hi all
Out jee app is using Oracle 10,
My datasource timeout defined for 3 min,

I was wandering what if oracle transaction timeout is shorter then the Jboss timeout?
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Then the connection will be stale and any operation using that connection will result in an exception. There are some properties that you can set on the datasource which can avoid such a situation. See this for details.

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: Transaction timeout
It's not a secret anymore!