Hi you should get a cause in the logs.
What is possible is you got a connection break between the server and the database. Ensure you configured test options (timeBetweenEvictionRunsMillis, validation query, potentially testXXX etc...). See http://commons.apache.org/proper/commons-dbcp/configuration.html (block starting with validationQuery - side note: this doc is for dbcp 2 and we use previous version so some attributes can be not supported, you'll get the information in the startup logs if it happens (as warnings)). Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-05-18 11:33 GMT+02:00 Chris Rohr <[email protected]>: > After 24 h run of Apache TomEE I get the following error in Catalina.out. > > May 18, 2014 11:19:40 AM > org.apache.geronimo.transaction.manager.TransactionImpl enlistResource > WARNING: Unable to enlist XAResource > org.apache.openejb.resource.jdbc.managed.local.LocalXAResource@6eafe6e2, > errorCode: 0 > javax.transaction.xa.XAException: Count not turn off auto commit for a XA > transaction > > I use the tomee.xml in $CATALINA_HOME/conf/ for the configuration of the > JTA > Datasource. > > The Content is the following: > > <Resource id="[Resourcename]" type="javax.sql.DataSource"> > jdbcDriver = com.mysql.jdbc.Driver > jdbcUrl = jdbc:mysql://localhost:3306/[Databasename] > jtaManaged = true > password = [Password] > userName = [Username] > </Resource> > > I have the original Settings replaced with [...]. > > If I restart TomEE, it will work again. > > > Thank you. > > Regards > > Chris > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Transaction-Manager-Failure-tp4669403.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
