Increasing weblogic ejb transaction timeout
While doing remote debugging with eclipse, I tend to run into annoying EJB transaction timeouts quite a lot. Is there an easy way to increase this timeout in weblogic? I am using the weblogic that came with JAP 5.0 and I am seeing exceptions like this: weblogic.transaction.internal.TimedOutException: Transaction timed out after 30 seconds
The weblogic documentation suggests that you could individually increase the timeout per EJB, but that doesn’t help since I have lots of them and the ejb-jar.xml is generated. In the jboss/tomcat world, I seem to remember that there was one setting that would override this.
The
This setting applies only to new transactions started by container when the EJB is called. It has no effect for calls to the EJB that use an existing transaction, so the EJB’s @TransactionAttribute must either be REQUIRES_NEW or REQUIRED (the default value), and in the latter case the there must not be an existing transaction when the call to the EJB is made. You may need to use the