very simple app to be able to duplicate issue where JTA transactions are not working properly (config?) in Tomee
Download configured sample TomEE https://www.dropbox.com/s/0kefpndme1x9v3p/apache-tomee-plus-1.7.1-sample.zip?dl=0 Build project with mvn clean package Deploy sample-spring.war to TomEE webapps directory Start tomee with ./bin/catalina.sh run
Then open browser and enter the following http://localhost:8080/simple-spring/rest/movies/100
Within the tomee console wait for the processing to complete and then search for "broken". 100 items should normally be enought to break but higher valules of 500, 5000, or 10000 may be required.
BrokerXmlConfig=broker:(vm://localhost) ResourceAdapter = ActiveMQResourceAdapter BrokerURL = vm://localhost ResourceAdapter = ActiveMQResourceAdapter Url jdbc:mysql://localhost:3306/test User root XaDataSource testxa DataSourceCreator dbcp UserName root