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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 9317

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]
subject: Transaction timeout
Similar Threads
set as timeout for stateful session bean
TIMEOUTS orion-ejb-jar.xml
Enthuware questions
Socket Exception, Applet Servlet Comm.. Very Urgent!