This content has been marked as final.
Show 2 replies
-
1. Re: jdbc repository
cfang Jul 20, 2017 10:38 AM (in response to mistrz_7)looks like it's related to the transaction last resource optimization in two-phase commit. Can you check the datasource configuration in WildFly or EAP configuration file (standalone.xml or domain.xml), and try setting it to <xa-datasource> (you might have used <datasource>). Aside from the warning message, does it affect your application any other way?
-
2. Re: jdbc repository
cfang Jul 20, 2017 10:43 AM (in response to cfang)if your batch application does not need global transaction (e.g., item reader), you can configure the datasource to be non-jta. That may exclude it from being enlisted by the transaction manager.