[jboss-jira] [JBoss JIRA] (WFLY-6021) Default transaction timeout is not applied for EJB bean when set for second time

Ondřej Chaloupka (JIRA) issues at jboss.org
Mon Jan 18 05:22:00 EST 2016


Ondřej Chaloupka created WFLY-6021:
--------------------------------------

             Summary: Default transaction timeout is not applied for EJB bean when set for second time
                 Key: WFLY-6021
                 URL: https://issues.jboss.org/browse/WFLY-6021
             Project: WildFly
          Issue Type: Bug
          Components: Transactions, EJB
            Reporter: Ondřej Chaloupka
            Assignee: Tom Jenkinson


It seems that transaction subsystem attribute {{default-timeout}} does not have any effect for EJB if it's redefined. It means if I set the default transaction timeout in transaction subystem for second (and next) time it's not applied for EJB beans. It's used the firstly set value.

The transaction timeout is not changed for EJB when server is reloaded. When server is restarted it refreshes all settings and EJB starts using the expected value for timeout settings.

If the value is read from subsystem
{{/subsystem=transactions:read-attribute(name=default-timeout)}}
it shows correct value (that one set for second time). But EJB seems not applying it.





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



More information about the jboss-jira mailing list