[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-2127) Transaction Timeout doesn't seem to work in AS 6 M3 (using the EJB 3 Annotation)

Andrig Miller (JIRA) jira-events at lists.jboss.org
Wed Jun 30 16:25:46 EDT 2010


Transaction Timeout doesn't seem to work in AS 6 M3 (using the EJB 3 Annotation)
--------------------------------------------------------------------------------

                 Key: EJBTHREE-2127
                 URL: https://jira.jboss.org/browse/EJBTHREE-2127
             Project: EJB 3.0
          Issue Type: Bug
          Components: ext-api
         Environment: Running with OpenJDK 1.6 (b18) on Fedora 13
            Reporter: Andrig Miller


When running my benchmark application (Order perf), I was getting a couple of interesting errors thrown in the log, one of which was transactions timing out, even though I had a longer than the default transaction timeout specified by the @TransactionTimeout annotation.

I created a simple application, that just sleeps to illustrate this.  The funny thing was, I didn't seem to get the error the first time I ran it, but received it the second time.

You can deploy the ear (I will attach it), in the default config of AS 6 M3 with no other changes.  I have attached the source files as well, but all the stateless session bean does is sleep for longer than the default transaction timeout specified in jboss-tranasctions-beans.xml (300 seconds), and shorter than the transaction timeout annotation value, which is set for 600 seconds.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list