This content has been marked as final.
Show 3 replies
-
1. Re: narayana transction timeouts
tomjenkinson Dec 13, 2018 7:02 AM (in response to mickymorgan)1 of 1 people found this helpfulI expect it is coming from: narayana/CoordinatorEnvironmentBean.java at master · jbosstm/narayana · GitHub
You should be able to override it with a system property:
-DCoordinatorEnvironmentBean.defaultTimeout=<integer>
-
2. Re: narayana transction timeouts
zhfeng Dec 13, 2018 7:08 AM (in response to tomjenkinson)1 of 1 people found this helpfulyeah, you need to create ${CATALINA_HOME}/bin/setenv.sh and add the line "JAVA_OPTS=-DCoordinatorEnvironmentBean.defaultTimeout=<integer>". Then run catalina.sh to restart the Tomcat to see if it works.
-
3. Re: narayana transction timeouts
zhfeng Dec 13, 2018 7:11 AM (in response to zhfeng)I think it might be useful if we can provide to set the defaultTime when creating the UserTransactionFactory ?