Issue Details (XML | Word | Printable)

Key: DERBY-3692
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Kristian Waagan
Reporter: Ole Solberg
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

'javax.transaction.xa.XAException' ++ in 'J2EEDataSourceTest'

Created: 27/May/08 06:05 PM   Updated: 29/Jun/09 10:57 PM
Return to search
Component/s: Test
Affects Version/s: 10.4.2.0
Fix Version/s: 10.4.2.0, 10.5.1.1

Time Tracking:
Not Specified

Environment:
OS: Solaris 10 6/06 s10x_u2wos_09a X86 64bits - SunOS 5.10 Generic_118855-14
JVM: Sun 1.6.0_01-b06
SVN: 660410
Issue Links:
Reference
 

Bug behavior facts: Regression Test Failure
Resolution Date: 02/Jun/08 04:51 PM


 Description  « Hide
See http://dbtg.thresher.com/derby/test/tinderbox_10.4_16/jvm1.6/testing/Limited/testSummary-660410.html
http://dbtg.thresher.com/derby/test/tinderbox_10.4_16/jvm1.6/testing/testlog/SunOS-5.10_i86pc-i386/660410-org.apache.derbyTesting.functionTests.suites.All_diff.txt

Related to DERBY-3690 / r660408 ?

There were 6 errors:
1) testGlobalLocalInterleaf(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)javax.transaction.xa.XAException
at org.apache.derby.jdbc.EmbedXAResource.start(Unknown Source)
at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testGlobalLocalInterleaf(J2EEDataSourceTest.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:101)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
2) testSetIsolationWithStatement(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)javax.transaction.xa.XAException
at org.apache.derby.jdbc.EmbedXAResource.start(Unknown Source)
at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testSetIsolationWithStatement(J2EEDataSourceTest.java:1364)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:101)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
3) testAllDataSources(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)javax.transaction.xa.XAException
at org.apache.derby.jdbc.EmbedXAResource.start(Unknown Source)
at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testAllDataSources(J2EEDataSourceTest.java:1008)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:101)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)

++


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Ole Solberg made changes - 27/May/08 06:07 PM
Field Original Value New Value
Link This issue is related to DERBY-3690 [ DERBY-3690 ]
Kristian Waagan made changes - 28/May/08 06:18 AM
Assignee Kristian Waagan [ kristwaa ]
Kristian Waagan added a comment - 02/Jun/08 12:12 PM
This is caused by DERBY-3690. I'm working on getting a small patch for DERBY-3327 committed in the 10.4 branch, which will fix the errors.
The changed behavior is that the old code initiated a transaction when resetting the schema (because it queried the data dictionary) with setDefaultSchema(null), whereas now the initial default schema descriptor is cached and calling setDefaultSchema(null) does not initiate a transaction.

Kristian Waagan added a comment - 02/Jun/08 04:51 PM
I see this has been fixed in the latest tinderbox test (currently still running).
Marking as fixed, suggest to wait for the complete tinderbox test results and a clean daily run before verifying and closing.

Kristian Waagan made changes - 02/Jun/08 04:51 PM
Resolution Fixed [ 1 ]
Fix Version/s 10.4.1.4 [ 12313112 ]
Status Open [ 1 ] Resolved [ 5 ]
Ole Solberg added a comment - 03/Jun/08 02:36 PM
OK in latest daily run.

Ole Solberg made changes - 03/Jun/08 02:36 PM
Status Resolved [ 5 ] Closed [ 6 ]
Rick Hillegas made changes - 04/Aug/08 08:24 PM
Fix Version/s 10.5.0.0 [ 12313010 ]
Fix Version/s 10.4.1.4 [ 12313112 ]
Fix Version/s 10.4.2.0 [ 12313345 ]
Myrna van Lunteren made changes - 04/May/09 06:22 PM
Fix Version/s 10.5.0.0 [ 12313010 ]
Fix Version/s 10.5.1.1 [ 12313771 ]
Dag H. Wanvik made changes - 29/Jun/09 10:40 PM
Derby Categories [Regression Test Failure]
Dag H. Wanvik made changes - 29/Jun/09 10:43 PM
Component/s Regression Test Failure [ 12310664 ]
Dag H. Wanvik made changes - 29/Jun/09 10:57 PM
Component/s Test [ 11413 ]