Error when DB has closed the connection and checklevel set to 2
When there is a new TX, the connection is enlisted but JDBC connection check level has not been tried on the connection, this is why an error is raised.
Here is the fragment : 2011-10-20 16:59:26,916 : SEVERE : RMI TCP Connection(8)-10.198.51.92 : ConnectionManagerImpl.allocateConnection [756] : Error related allocation of ManagedConnection javax.transaction.SystemException: Cannot send XA(org.ow2.jonas.ee.jdbc.XAResourceImpl@56103e) start:javax.transaction.xa.XAException: Error : Unable to set autoCommit to false in start (error code = 0) --Error : Unable to set autoCommit to false in start at org.objectweb.jotm.TransactionImpl.enlistResource(TransactionImpl.java:520) at org.ow2.jonas.resource.internal.cm.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:728) at org.ow2.jonas.ee.jdbc.DataSourceImpl.getConnection(DataSourceImpl.java:78) at org.ow2.jonas.jndi.interceptors.impl.datasource.DatasourceWrapper.getConnection(DatasourceWrapper.java:99) at