In QA’s database certification testing on MySQL, we also see the failure in BatchCommitTransactionExceptionTest. It appears to related to James’ changes on org/eclipse/persistence/internal/sessions/AbstractSession.java
http://ottvm054.ca.oracle.com/eclipselink-database-certification/main/2011-01-28/#certify-mysql-5-connector
Stack Trace:
==========
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Can't call rollback when autocommit=true Error Code: 0
!
Local
Exception Stack:
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110128-r8892): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Can't call rollback when autocommit=true
Error Code: 0
at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:324)
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicRollbackTransaction(DatabaseAccessor.java:1545)
at
org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.rollbackTransaction(DatasourceAccessor.java:672)
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.rollbackTransaction(DatabaseAccessor.java:1528)
at org.eclipse.persistence.internal.sessions.AbstractSession.basicRollbackTransaction(AbstractSession.java:594)
at org.eclipse.persistence.internal.sessions.AbstractSession.rollbackTransaction(AbstractSession.java:3369)
at org.eclipse.persistence.testing.tests.validation.BatchCommitTransactionExceptionTest.test(BatchCommitTransactionExceptionTest.java:51)
at
org.eclipse.persistence.testing.framework.TestCase.executeTest(TestCase.java:545)
at org.eclipse.persistence.testing.framework.TestCase.execute(TestCase.java:156)
at org.eclipse.persistence.testing.framework.TestCase.runBare(TestCase.java:265)
at org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:248)
at org.eclipse.persistence.testing.framework.TestSuite.execute(TestSuite.java:75)
at org.eclipse.persistence.testing.framework.TestCollection.run(TestCollection.java:313)
at
org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:248)
at org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at org.eclipse.persistence.testing.framework.TestCollection.run(TestCollection.java:313)
at org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:248)
at org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208)
at org.eclipse.persistence.testing.framework.TestCollection.run(TestCollection.java:313)
Caused by:
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Can't call rollback when autocommit=true
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
at com.mysql.jdbc.Util.getInstance(Util.java:384)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
at
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:929)
at com.mysql.jdbc.ConnectionImpl.rollback(ConnectionImpl.java:4666)
at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicRollbackTransaction(DatabaseAccessor.java:1537)
From: Eric Gwin
Sent: January 28, 2011 6:55 AM
To: eclipselink-dev@xxxxxxxxxxx
Subject: Re: [eclipselink-dev] Need stable build tonight for Milestone. WAS: BUILD STATUS:: trunk nightly build has test failures!
Core failed last night with an failure in: BatchCommitTransactionExceptionTest
an the night before with a failure in: ComplexMultipleUnitOfWorkTest
There appeared to be no related transactions the the night before so the ComplexMultipleUnitOfWorkTest failure appeared intermittent.
Perhaps the same is true of the BatchCommitTransactionExceptionTest failure last night but there were changes to Core merged yesterday.
We need a stable build tonight so we can contribute a milestone to the Indigo train on Monday. Can these failures be looked into please?!
If
they are intermittent, please remove the test temporarily until it is fixed.
I'd also appreciate it if you held off on risky merges until after the milestone is announced.
Thanks.
-Eric
On 1/28/2011 1:00 AM, eric.gwin@xxxxxxxxxx wrote:
Build summary for 2.3.0.v20110128-r8892
-----------------------------------
Non-critical compilation issues (if any) reported in
the format [BUILDLOG_LINE#: NUMBER_OF_ERRORS]:
-----------------------------------
TEST-CORE
Tests run:7853 Failures:0 Errors:1
TEST-JPA
Tests run:2355 Failures:0 Errors:0
TEST-WDF
Tests run:830 Failures:0 Errors:0
TEST-MOXY
Tests run:28741 Failures:0 Errors:0
TEST-SDO
Tests run:4531 Failures:0 Errors:0
TEST-DBWS
Tests run:14 Failures:0 Errors:0
TEST-DBWS-BUILDER
Tests run:33 Failures:0 Errors:0
-----------------------------------
Build log: (/shared/rt/eclipselink/logs/bsb-trunk_nightly_110128-0005.log)
Test logs can be found on the download server at:
http://www.eclipse.org/eclipselink/downloads/nightly.php
Build logs can be found on the download server at:
http://www.eclipse.org/eclipselink/downloads/build-failures.php
-----------------------------------
SVN Changes since Last Build:
------------------------------------------------------------------------
r8892 | etang | 2011-01-27 16:05:53 -0500 (Thu, 27 Jan 2011)
Changed paths:
M /trunk/jpa/eclipselink.jpa.osgi.test/build.xml
M /trunk/jpa/eclipselink.jpa.osgi.test/resource/META-INF/MANIFEST.MF
M /trunk/jpa/eclipselink.jpa.osgi.test/resource/config.ini
------------------------------------------------------------------------
r8891 | rbarkhous | 2011-01-27 13:10:28 -0500 (Thu, 27 Jan 2011)
Changed paths:
M /trunk/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/oxm/XMLContext.java
M /trunk/moxy/eclipselink.moxy.test/resource/org/eclipse/persistence/testing/jaxb/dynamic/contextcreation-oxm.xml
A /trunk/moxy/eclipselink.moxy.test/resource/org/eclipse/persistence/testing/jaxb/dynamic/contextcreation2.xsd
M /trunk/moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/dynamic/DynamicJAXBTestSuite.java
A /trunk/moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/dynamic/DynamicJAXBUsingXMLNamesTestCases.java
M /trunk/moxy/org.eclipse.persistence.moxy/src/org/eclipse/persistence/jaxb/JAXBContext.java
------------------------------------------------------------------------
r8888 | jsutherla | 2011-01-27 10:10:22 -0500 (Thu, 27 Jan 2011)
Changed paths:
M /trunk/foundation/eclipselink.core.test/src/org/eclipse/persistence/testing/tests/performance/java/MethodTest.java
M /trunk/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/internal/sessions/AbstractSession.java
M /trunk/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/platform/database/DerbyPlatform.java
M /trunk/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/tools/profiler/PerformanceMonitor.java
M /trunk/jpa/org.eclipse.persistence.jpa/src/org/eclipse/persistence/internal/jpa/EntityManagerImpl.java
------------------------------------------------------------------------
_______________________________________________
eclipselink-dev mailing list
eclipselink-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-dev
--
-Eric
![Oracle](gif6zEqBQx3ZN.gif)
Eric Gwin | Senior Software Developer
Phone: +613 288 4622 | | Fax: +613 2382818 | | Mobile: +613 8582347
Oracle Java Server Technologies
ORACLE Canada | 45 O'Connor St., Ottawa, Ontario | K1P 6L2
Oracle is committed to developing practices and products that help protect the environment