The "default-timeout" may be set via console (configuration -> container -> Transactions) or jboss-cli (eg /subsystem=transactions:write-attribute(name=default-timeout,value=400)
Or you can set the timeout on your business method using
@TransactionTimeout(value = 1, unit = TimeUnit.HOURS)
How to set it using jboss-cli (eg /subsystem=transactions:write-attribute(name=default-timeout,value=400).
Which file to change ? Can you please provide me more details.
The configuration files may be found under JBOSS_HOME/standalone or JBOSS_HOME/domain. But it is not recommended to change these configuration files (eg standalone.xml) directly. For these purposes you may use the command line utilities (jboss-cli.sh or jboss-cli.bat) which are located in the JBOSS_HOME/bin directory. I'd suggest that yor read the WildFly documentation for more details. (Documentation - WildFly 8 - Project Documentation Editor)