Transaction Rollback due to Time Out

Posted on 2004-11-01
Medium Priority
Last Modified: 2013-11-24
My problem is i get an error "Transaction Rollback due to Time Out" whenever i have to perform some database operations. Can we specify duration of a Transaction, in an EJB Application.

i am using oc4j server

i didnt find transaction timeout option anywhere in ejb-jar.xml and orion.ejb-jar.xml
Question by:chaitu chaitu
  • 4
LVL 13

Expert Comment

ID: 12470862
does this happen while u debug ur application?
LVL 13

Expert Comment

ID: 12470932
if this is not while u debug, then in ur orion-ejb.jar on the session bean descriptor try to use call-timeout parameter (its default value 9000 Milli Second) increase it and retry as explain in the url:
LVL 20

Author Comment

by:chaitu chaitu
ID: 12471017
while debug my application its coming
LVL 13

Accepted Solution

petmagdy earned 600 total points
ID: 12471099
yes this is normal try to increase call-timeout and tell me
LVL 13

Expert Comment

ID: 12471848
because u r debbuging during a transaction, it expires after 90 second, so increase call-timeout while u r still developing and debbuging and when u go for production return it to default value

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month7 days, 11 hours left to enroll

608 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question