Loading
Transaction TimedOut

Java Quick Notes

Refresh Your Java - Before Java Interview

We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....


Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet

Go to SiteMap

Q)  Transaction TimedOut ?


Ans)

"Transaction TimedOut" exception occurs when your Transaction Manager which could be a
Session Bean, Hibernate Session, or a JDBC connection unable to perform the given Database
operations in configured time frame
, possible reasons would be long running Database Queries.

In case of Container managed Transaction this Timeout is managed by JTA.

In order to avoid this you need to do the following
i) Increase the JTA Timeout value in your Application Server by using Admin console.
ii) Tune your code as well as Database queries, as a first Step towards the Tuning add indexes
to all required Databases tables
. Also set appropriate DB PAGE_SIZE.



Back to top

------------------------- We hope you got necessary Info On -----------------------------------------

Transaction TimedOut


Transaction TimedOut

-------------------------------------------------------------------------------------------------------



Face Book
Request for a Mock Interview/Training

Get a PDF

Face Book
Same look (Read) on any device, this is Ads free