Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 68913 invoked from network); 10 Jul 2009 20:43:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jul 2009 20:43:27 -0000 Received: (qmail 50868 invoked by uid 500); 10 Jul 2009 20:43:37 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 50840 invoked by uid 500); 10 Jul 2009 20:43:37 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 50832 invoked by uid 99); 10 Jul 2009 20:43:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jul 2009 20:43:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jul 2009 20:43:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D8105234C004 for ; Fri, 10 Jul 2009 13:43:14 -0700 (PDT) Message-ID: <1093825625.1247258594870.JavaMail.jira@brutus> Date: Fri, 10 Jul 2009 13:43:14 -0700 (PDT) From: "Lily Wei (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4300) testResultSetGarbageCollection failed with 10.3 server 10.5 client testing with connection has been terminiated In-Reply-To: <952742916.1247251995541.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729807#action_12729807 ] Lily Wei commented on DERBY-4300: --------------------------------- I was able to reproduce this bug by running jdbcapi._Suite. 1) testGetBinaryStream(org.apache.derbyTesting.functionTests.tests.jdbcapi.Large DataLocksTest)junit.framework.AssertionFailedError: expected:<0> but was:<2> at org.apache.derbyTesting.functionTests.tests.jdbcapi.LargeDataLocksTes t.testGetBinaryStream(LargeDataLocksTest.java:114) > testResultSetGarbageCollection failed with 10.3 server 10.5 client testing with connection has been terminiated > --------------------------------------------------------------------------------------------------------------- > > Key: DERBY-4300 > URL: https://issues.apache.org/jira/browse/DERBY-4300 > Project: Derby > Issue Type: Bug > Components: Network Server > Affects Versions: 10.5.1.1 > Environment: Window vista. > Reporter: Lily Wei > Priority: Critical > > testResultSetGarbageCollection(org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoGenJDBC30Test)java.sql.SQLException: Insufficient data while reading from the network - expected a minimum of 6 bytes and received only 0 bytes. The connection has been terminated. It looks like the server was not available for the other fixtures after this occurs with: A communications error has been detected: Connection reset. message. > This the trace dump: > 1) testResultSetGarbageCollection(org.apache.derbyTesting.functionTests.tests.jd > bcapi.AutoGenJDBC30Test)java.sql.SQLException: Insufficient data while reading f > rom the network - expected a minimum of 6 bytes and received only 0 bytes. The > connection has been terminated. > at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(SQLExc > eptionFactory.java:46) > at org.apache.derby.client.am.SqlException.getSQLException(SqlException. > java:358) > at org.apache.derby.client.am.PreparedStatement.executeUpdate(PreparedSt > atement.java:399) > at org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoGenJDBC30Test > .testResultSetGarbageCollection(AutoGenJDBC30Test.java:933) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java: > 89) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57 > ) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57 > ) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) > Caused by: org.apache.derby.client.am.DisconnectException: Insufficient data whi > le reading from the network - expected a minimum of 6 bytes and received only 0 > bytes. The connection has been terminated. > at org.apache.derby.client.net.Reply.fill(Reply.java:198) > at org.apache.derby.client.net.Reply.ensureALayerDataInBuffer(Reply.java > :218) > at org.apache.derby.client.net.Reply.readDssHeader(Reply.java:320) > at org.apache.derby.client.net.Reply.startSameIdChainParse(Reply.java:11 > 60) > at org.apache.derby.client.net.NetStatementReply.readExecute(NetStatemen > tReply.java:70) > at org.apache.derby.client.net.StatementReply.readExecute(StatementReply > .java:55) > at org.apache.derby.client.net.NetPreparedStatement.readExecute_(NetPrep > aredStatement.java:189) > at org.apache.derby.client.am.PreparedStatement.readExecute(PreparedStat > ement.java:1811) > at org.apache.derby.client.am.PreparedStatement.flowExecute(PreparedStat > ement.java:2108) > at org.apache.derby.client.am.PreparedStatement.executeUpdateX(PreparedS > tatement.java:404) > at org.apache.derby.client.am.PreparedStatement.executeUpdate(PreparedSt > atement.java:390) > ... 41 more > I run the test by itself using 'java junit.textui.TestRunner org.apache.derbyTesting.functionTests.tests.jdbc > api.AutoGenJDBC30Test'. The failure did not occur in that case. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.