[ 
https://issues.apache.org/jira/browse/DERBY-6248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Myrna van Lunteren updated DERBY-6248:
--------------------------------------

    Attachment: XAReproD6248.java
                XALongReproD6248.java

I've been working on this repro, but I do not get a protocol error. So I am no 
closer to reproducing the bug. I am attaching XAReproD6248, which shows this 
attempt. But the output shows a status of XA_RBINTEGRITY from the server, and 
derby.log shows error23506: The transaction was aborted because of a deferred 
constraint violation (with insane jars, I needed to set logSeverityLevel=0 to 
see this in derby.log)

However, I made a smaller test case out of the XATest, XALongReproD6248, which 
on my windows 7 system run against trunk with sane jars failed 21 out of 100 
times, and this is the stack trace:

java.sql.SQLFeatureNotSupportedException: The DDM object 0x2408 is not 
supported.  The connection has been terminated.
        at 
org.apache.derby.client.am.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:92)
        at 
org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:321)
        at 
org.apache.derby.client.am.LogicalConnection.close(LogicalConnection.java:131)
        at XALongReproD6248.main(XALongReproD6248.java:361)
Caused by: ERROR 58015: The DDM object 0x2408 is not supported.  The connection 
has been terminated.
        at 
org.apache.derby.client.net.NetConnectionReply.doObjnsprmSemantics(NetConnectionReply.java:2784)
        at 
org.apache.derby.client.net.NetConnectionReply.parseSYNCCTLError(NetConnectionReply.java:2132)
        at 
org.apache.derby.client.net.NetXAConnectionReply.parseSYNCCTLreply(NetXAConnectionReply.java:213)
        at 
org.apache.derby.client.net.NetXAConnectionReply.readLocalXACommit(NetXAConnectionReply.java:48)
        at 
org.apache.derby.client.net.NetXAConnection.readLocalXACommit_(NetXAConnection.java:91)
        at 
org.apache.derby.client.net.NetXAConnection.readCommit(NetXAConnection.java:145)
        at 
org.apache.derby.client.net.NetConnection.readXACommit_(NetConnection.java:1747)
        at 
org.apache.derby.client.am.ClientConnection.readCommit(ClientConnection.java:699)
        at 
org.apache.derby.client.am.ClientConnection.readAutoCommit(ClientConnection.java:693)
        at 
org.apache.derby.client.am.ClientConnection.flowClose(ClientConnection.java:910)
        at 
org.apache.derby.client.am.ClientConnection.closeForReuse(ClientConnection.java:885)
        at 
org.apache.derby.client.am.LogicalConnection.close(LogicalConnection.java:122)
        ... 1 more



> nightly regression test failure: 
> testDerby966(org.apache.derbyTesting.functionTests.tests.jdbcapi.XATest)java.sql.SQLFeatureNotSupportedException:
>  The DDM object 0x2408 is not supported.  The connection has been terminated.
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6248
>                 URL: https://issues.apache.org/jira/browse/DERBY-6248
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.11.0.0
>            Reporter: Mike Matrigali
>            Assignee: Myrna van Lunteren
>         Attachments: XALongReproD6248.java, XAReproD6248.java, derby.log, 
> error-stacktrace.out
>
>
> intermittent nightly regression test failure in trunk, linux, ibm16
> only happened once in may on this machine environment.
> http://people.apache.org/~myrnavl/derby_test_results/main/linux/testlog/ibm16/1488444-suites.All_diff.txt
> There was 1 error:
> 1) 
> testDerby966(org.apache.derbyTesting.functionTests.tests.jdbcapi.XATest)java.sql.SQLFeatureNotSupportedException:
>  The DDM object 0x2408 is not supported.  The connection has been terminated.
>       at 
> org.apache.derby.client.am.SQLExceptionFactory.getSQLException(Unknown Source)
>       at org.apache.derby.client.am.SqlException.getSQLException(Unknown 
> Source)
>       at org.apache.derby.client.am.LogicalConnection.close(Unknown Source)
>       at 
> org.apache.derbyTesting.functionTests.tests.jdbcapi.XATest.testDerby966(XATest.java:1079)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>       at 
> org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
>       at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:439)
>       at 
> org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:456)
>       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)
>       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)
>       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 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)
> Caused by: org.apache.derby.client.am.DisconnectException: The DDM object 
> 0x2408 is not supported.  The connection has been terminated.
>       at 
> org.apache.derby.client.net.NetConnectionReply.doObjnsprmSemantics(Unknown 
> Source)
>       at 
> org.apache.derby.client.net.NetConnectionReply.parseSYNCCTLError(Unknown 
> Source)
>       at 
> org.apache.derby.client.net.NetXAConnectionReply.parseSYNCCTLreply(Unknown 
> Source)
>       at 
> org.apache.derby.client.net.NetXAConnectionReply.readLocalXACommit(Unknown 
> Source)
>       at 
> org.apache.derby.client.net.NetXAConnection.readLocalXACommit_(Unknown Source)
>       at org.apache.derby.client.net.NetXAConnection.readCommit(Unknown 
> Source)
>       at org.apache.derby.client.net.NetConnection.readXACommit_(Unknown 
> Source)
>       at org.apache.derby.client.am.ClientConnection.readCommit(Unknown 
> Source)
>       at org.apache.derby.client.am.ClientConnection.readAutoCommit(Unknown 
> Source)
>       at org.apache.derby.client.am.ClientConnection.flowClose(Unknown Source)
>       at org.apache.derby.client.am.ClientConnection.closeForReuse(Unknown 
> Source)
>       ... 49 more
> FAILURES!!!
> Tests run: 17341,  Failures: 0,  Errors: 1



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to