[jboss-jira] [JBoss JIRA] (WFLY-5556) Configure remote tx timeout via system property

Panagiotis Sotiropoulos (JIRA) issues at jboss.org
Wed Oct 21 05:27:00 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-5556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Panagiotis Sotiropoulos moved JBEAP-1579 to WFLY-5556:
------------------------------------------------------

           Project: WildFly  (was: JBoss Enterprise Application Platform)
               Key: WFLY-5556  (was: JBEAP-1579)
        Issue Type: Feature Request  (was: Bug)
          Workflow: GIT Pull Request workflow   (was: CDW v1)
       Component/s: EJB
                        (was: EJB)
    Target Release:   (was: 7.0.0.GA)


> Configure remote tx timeout via system property
> -----------------------------------------------
>
>                 Key: WFLY-5556
>                 URL: https://issues.jboss.org/browse/WFLY-5556
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: EJB
>            Reporter: Panagiotis Sotiropoulos
>            Assignee: Panagiotis Sotiropoulos
>
> Description of problem:
> The hardcoded 5 minute timeout period was replace with Integer.MAX_VALUE for the timeout period of "remote" distributed transaction branches.
> - https://issues.jboss.org/browse/WFLY-2789
> - https://bugzilla.redhat.com/show_bug.cgi?id=1056585#c1
> An "infinite" timeout is a problem as this value is also passed to the database to control statement execution. This means that database statements may run uncontrolled in most cases. Too, in one case we have seen that the database driver or the database is mishandling the value and aborting almost immediately (e.g. after only 2 or 3 seconds).
> Version-Release number of selected component (if applicable):
> How reproducible:
> Consistently
> Steps to Reproduce:
> 1. Start a transaction in server "one"
> 2. Using JTA/EJB remoting, propagate that transaction to a remote server
> 3. The timeout for the transaction on the remote can be seen to be Integer.MAX_VALUE
> Actual results:
> Either an "infinite" timeout period for database statement execution or else an immediate abort
> Expected results:
> A "reasonable" smaller value must be used.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list