chaitu chaitu
asked on
Transaction Rollback due to Time Out
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
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
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:
http://www.comp.hkbu.edu.hk/docs/o/dl/web/B10324_01/dtdxml.htm
http://www.comp.hkbu.edu.hk/docs/o/dl/web/B10324_01/dtdxml.htm
ASKER
while debug my application its coming
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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