Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 68621 invoked from network); 10 Jul 2009 20:41:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jul 2009 20:41:28 -0000 Received: (qmail 47843 invoked by uid 500); 10 Jul 2009 20:41:37 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 47824 invoked by uid 500); 10 Jul 2009 20:41: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 47816 invoked by uid 99); 10 Jul 2009 20:41: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:41: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:41:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CA5A9234C004 for ; Fri, 10 Jul 2009 13:41:14 -0700 (PDT) Message-ID: <1914725509.1247258474813.JavaMail.jira@brutus> Date: Fri, 10 Jul 2009 13:41:14 -0700 (PDT) From: "Mamta A. Satoor (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4053) suites.All hang with message java.net.BindException: Address already in use: NET_Bind in derby.log In-Reply-To: <751230752.1234391399777.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-4053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729806#action_12729806 ] Mamta A. Satoor commented on DERBY-4053: ---------------------------------------- Kathey, when I ran the XATest, it failed $ java junit.textui.TestRunner org.apache.derbyTesting.functionTests.tests.jdbcapi.XATest .....EE Time: 10.031 There were 2 errors: 1) XATest:embeddedjava.sql.SQLException: The conglomerate (-1) requested does not exist. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:95) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:201) at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(TransactionResourceImpl.java:391) at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:346) at org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2201) at org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:81) at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1323) at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:625) at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(EmbedStatement.java:175) at org.apache.derbyTesting.junit.JDBC.dropSchema(JDBC.java:323) at org.apache.derbyTesting.junit.CleanDatabaseTestSetup.removeObjects(CleanDatabaseTestSetup.java:231) at org.apache.derbyTesting.junit.CleanDatabaseTestSetup.cleanDatabase(CleanDatabaseTestSetup.java:164) at org.apache.derbyTesting.junit.CleanDatabaseTestSetup.tearDown(CleanDatabaseTestSetup.java:151) at junit.extensions.TestSetup$1.protect(TestSetup.java:20) at junit.extensions.TestSetup.run(TestSetup.java:23) at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) Caused by: java.sql.SQLException: The conglomerate (-1) requested does not exist. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.java:119) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:70) ... 21 more Caused by: ERROR XSAI2: The conglomerate (-1) requested does not exist. at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:286) at org.apache.derby.impl.store.access.RAMTransaction.findExistingConglomerate(RAMTransaction.java:399) at org.apache.derby.impl.store.access.RAMTransaction.openConglomerate(RAMTransaction.java:1308) at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.isSchemaReferenced(DataDictionaryImpl.java:2310) at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.isSchemaEmpty(DataDictionaryImpl.java:2245) at org.apache.derby.iapi.sql.dictionary.SchemaDescriptor.drop(SchemaDescriptor.java:419) at org.apache.derby.impl.sql.execute.DropSchemaConstantAction.executeConstantAction(DropSchemaConstantAction.java:99) at org.apache.derby.impl.sql.execute.MiscResultSet.open(MiscResultSet.java:64) at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(GenericPreparedStatement.java:416) at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:297) at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1235) ... 15 more 2) XATest:clientjava.sql.SQLException: The conglomerate (-1) requested does notexist. at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:96) at org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:358) at org.apache.derby.client.am.Statement.executeUpdate(Statement.java:509) at org.apache.derbyTesting.junit.JDBC.dropSchema(JDBC.java:323) at org.apache.derbyTesting.junit.CleanDatabaseTestSetup.removeObjects(CleanDatabaseTestSetup.java:231) at org.apache.derbyTesting.junit.CleanDatabaseTestSetup.cleanDatabase(CleanDatabaseTestSetup.java:164) at org.apache.derbyTesting.junit.CleanDatabaseTestSetup.setUp(CleanDatabaseTestSetup.java:109) at junit.extensions.TestSetup$1.protect(TestSetup.java:18) 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.SqlException: The conglomerate (-1) requested does not exist. at org.apache.derby.client.am.Statement.completeSqlca(Statement.java:1833) at org.apache.derby.client.am.Statement.completeExecuteImmediate(Statement.java:1421) at org.apache.derby.client.net.NetStatementReply.parseEXCSQLIMMreply(NetStatementReply.java:208) at org.apache.derby.client.net.NetStatementReply.readExecuteImmediate(NetStatementReply.java:59) at org.apache.derby.client.net.StatementReply.readExecuteImmediate(StatementReply.java:45) at org.apache.derby.client.net.NetStatement.readExecuteImmediate_(NetStatement.java:128) at org.apache.derby.client.am.Statement.readExecuteImmediate(Statement.java:1417) at org.apache.derby.client.am.Statement.flowExecute(Statement.java:2120) at org.apache.derby.client.am.Statement.executeUpdateX(Statement.java:514) at org.apache.derby.client.am.Statement.executeUpdate(Statement.java:500) ... 22 more FAILURES!!! Tests run: 5, Failures: 0, Errors: 2 $ > suites.All hang with message java.net.BindException: Address already in use: NET_Bind in derby.log > --------------------------------------------------------------------------------------------------- > > Key: DERBY-4053 > URL: https://issues.apache.org/jira/browse/DERBY-4053 > Project: Derby > Issue Type: Bug > Components: Network Server, Test > Affects Versions: 10.5.1.1 > Reporter: Kathey Marsden > Assignee: Mamta A. Satoor > Attachments: derby-4053_repro_dont_commit_diff.txt, derby.log, DERBY4053_patch1_diff_July092009.txt, DERBY4053_patch2_diff_July102009.txt, DERBY4053_patch2_stat_July102009.txt, javacore-20090420-1735.txt, javacore.20090211.123031.4000.0001.txt, mamtaDerby4053.java, suites.All.out > > > Running suites.All with IBM 1.5 on 10.5.0.0 alpha - (743198) I got a hang in the test run. The last test to run successfully was xtestNestedSavepoints, but I am not sure exactly what test caused the hang. I took a thread dump which I will attach, which showed network server up and running but no ClientThread and a ping attempt blocked. > This hang is very similar to the hang that was seen after the fix attempts for DERBY-1465 but that change was backed out so it is not related to that change. It could be that the change for DERBY-1465 just made this highly intermittent problem more likely. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.