Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB 2.0 (CMP)- Transaction timeout  RSS feed

 
v Gupta
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using entity beans (CMP)in weblogic 6.1 and i specified transaction timeout value in the deployment descriptor as 1000, still my transaction fails after 300 or sometimes after 302 seconds.

Can anyone give a solution to this problem.

Thanks
VGupta
 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I assume you restarted the server and checked the config.xml to make sure that the JTA timeout value has been updated.?
 
v Gupta
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think if we define a transaction timeout value for a bean that will override the default timeout value of JTA, moreover in conf.xml the value for timeout is 60.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!