]
Fedor Gavrilov reassigned WFLY-6021:
------------------------------------
Assignee: Fedor Gavrilov (was: David Lloyd)
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: EJB, Transactions
Reporter: Ondřej Chaloupka
Assignee: Fedor Gavrilov
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.