[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

656 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