[ 
https://issues.apache.org/jira/browse/DERBY-3692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601610#action_12601610
 ] 

Kristian Waagan commented on DERBY-3692:
----------------------------------------

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.

> 'javax.transaction.xa.XAException' ++  in  'J2EEDataSourceTest' 
> ----------------------------------------------------------------
>
>                 Key: DERBY-3692
>                 URL: https://issues.apache.org/jira/browse/DERBY-3692
>             Project: Derby
>          Issue Type: Bug
>          Components: Regression Test Failure
>    Affects Versions: 10.4.1.4
>         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
>            Reporter: Ole Solberg
>            Assignee: Kristian Waagan
>
> 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)
> ++

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to