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

Myrna van Lunteren commented on DERBY-6248:
-------------------------------------------

To give an update on some further experiments/debugging:
- this problem did not surface in 50 runs with either Oracle's jdk 1.8 nor jdk 
1.6.
- with both of those, an additional SQLCARD (from DRDAConnThread.writeSQLCARDs) 
is written on the server over what happens with ibm 1.6 (or 1.7) jvms (fail or 
passing run)
- with ibm 1.6, when the failure occurs, EmbedPreparedStatement.finalize() 
doesn't get called until right before the error happens. (and 
EmbedStatement.finalize() just after). In passing runs, these methods get 
called sooner. With jdk 1.8, these methods apparently do not get called at 
all... (Of course, the calling of these finalize methods are as likely a 
symptom as the cause of the problem).

> 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: Network Client, Network Server
>    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