?
Solved

Transaction Rollback due to Time Out

Posted on 2004-11-01
5
Medium Priority
?
593 Views
Last Modified: 2013-11-24
Hello,
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
0
Comment
Question by:chaitu chaitu
  • 4
5 Comments
 
LVL 13

Expert Comment

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

Expert Comment

by:petmagdy
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:
http://www.comp.hkbu.edu.hk/docs/o/dl/web/B10324_01/dtdxml.htm
0
 
LVL 20

Author Comment

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

Accepted Solution

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

Expert Comment

by:petmagdy
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
0

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