Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 23994 invoked from network); 22 Mar 2007 00:22:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Mar 2007 00:22:55 -0000 Received: (qmail 36412 invoked by uid 500); 22 Mar 2007 00:23:02 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 36372 invoked by uid 500); 22 Mar 2007 00:23:02 -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 36345 invoked by uid 99); 22 Mar 2007 00:23:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 17:23:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2007 17:22:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 646FD714073 for ; Wed, 21 Mar 2007 17:22:32 -0700 (PDT) Message-ID: <11312170.1174522952408.JavaMail.jira@brutus> Date: Wed, 21 Mar 2007 17:22:32 -0700 (PDT) From: "Manjula Kutty (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Created: (DERBY-2477) shutting down the database causes some issues for the network server MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org shutting down the database causes some issues for the network server -------------------------------------------------------------------- Key: DERBY-2477 URL: https://issues.apache.org/jira/browse/DERBY-2477 Project: Derby Issue Type: Bug Components: Network Server Affects Versions: 10.3.0.0 Environment: OS : WindowsXP JDK1.5 Running against main/trunk Reporter: Manjula Kutty Fix For: 10.3.0.0 Found this bug while converting the test lang/ShutdownDatabase.java to junit. Here is the stack trace I got There was 1 error: 1) testOnlyTransactionWasCommited(org.apache.derbyTesting.functionTests.tests.la ng.ShutdownDatabaseTest)java.sql.SQLException: A network protocol error was enco untered and the connection has been terminated: the requested command encountere d an unarchitected and implementation-specific condition for which there was no architected message at org.apache.derby.client.am.SQLExceptionFactory.getSQLException(Unknow n Source) at org.apache.derby.client.am.SqlException.getSQLException(Unknown Sourc e) at org.apache.derby.client.am.Statement.execute(Unknown Source) at org.apache.derbyTesting.functionTests.tests.lang.ShutdownDatabaseTest .tearDown(ShutdownDatabaseTest.java:77) at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java: 80) 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 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 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: A network protocol er ror was encountered and the connection has been terminated: the requested comman d encountered an unarchitected and implementation-specific condition for which t here was no architected message at org.apache.derby.client.net.NetConnectionReply.parseCMDCHKRM(Unknown Source) at org.apache.derby.client.net.NetStatementReply.parseExecuteImmediateEr ror(Unknown Source) at org.apache.derby.client.net.NetStatementReply.parseEXCSQLIMMreply(Unk nown Source) at org.apache.derby.client.net.NetStatementReply.readExecuteImmediate(Un known Source) at org.apache.derby.client.net.StatementReply.readExecuteImmediate(Unkno wn Source) at org.apache.derby.client.net.NetStatement.readExecuteImmediate_(Unknow n Source) at org.apache.derby.client.am.Statement.readExecuteImmediate(Unknown Sou rce) at org.apache.derby.client.am.Statement.flowExecute(Unknown Source) at org.apache.derby.client.am.Statement.executeX(Unknown Source) ... 27 more Note : The old harness has the same test running under n/w server. But in the original test, the test was creating different databases for individual test cases, while in this case we are using one database. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.