Transaction Rollback due to Time Out

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
LVL 20
chaitu chaituAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

does this happen while u debug ur application?
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:
chaitu chaituAuthor Commented:
while debug my application its coming
yes this is normal try to increase call-timeout and tell me

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java EE

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.