Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 57828 invoked from network); 10 Jun 2008 08:34:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jun 2008 08:34:37 -0000 Received: (qmail 36006 invoked by uid 500); 10 Jun 2008 08:34:39 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 35726 invoked by uid 500); 10 Jun 2008 08:34:38 -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 35703 invoked by uid 99); 10 Jun 2008 08:34:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2008 01:34:38 -0700 X-ASF-Spam-Status: No, hits=-1998.8 required=10.0 tests=ALL_TRUSTED,FS_REPLICA 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; Tue, 10 Jun 2008 08:33:57 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 29DC5234C139 for ; Tue, 10 Jun 2008 01:33:45 -0700 (PDT) Message-ID: <420981565.1213086825170.JavaMail.jira@brutus> Date: Tue, 10 Jun 2008 01:33:45 -0700 (PDT) From: "V.Narayanan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Issue Comment Edited: (DERBY-3709) Exception printed by replication test: Could not perform operation because the database is not in replication master mode. In-Reply-To: <632103202.1212614145084.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603802#action_12603802 ] narayanan edited comment on DERBY-3709 at 6/10/08 1:32 AM: ------------------------------------------------------------- Thank you for the patch Ole I had two unrelated failures while running these tests Sending java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java Transmitting file data . Committed revision 666006. Will merge it to 10.4 after running tests was (Author: narayanan): Thank you for the patch Ole I had two unrelated failures while running these tests Sending java/testing/org/apache/derbyTesting/functionTests/tests/replicationTests/ReplicationRun.java Transmitting file data . Committed revision 666006. > Exception printed by replication test: Could not perform operation because the database is not in replication master mode. > -------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-3709 > URL: https://issues.apache.org/jira/browse/DERBY-3709 > Project: Derby > Issue Type: Bug > Components: Regression Test Failure, Replication > Affects Versions: 10.4.1.4, 10.5.0.0 > Environment: Java Version: 1.6.0_04 > Java Vendor: Sun Microsystems Inc. > OS name: SunOS > OS architecture: x86 > OS version: 5.10 > Reporter: Knut Anders Hatlen > Assignee: Ole Solberg > Attachments: derby-3709_p1-v2.diff.txt, derby-3709_p1.diff.txt > > > I saw the following exception printed when I ran suites.All on trunk (revision 663064). None of the tests failed. > java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XRE07, SQLERRMC: Could not perform operation because the database is not in replication master mode. > at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:96) > at org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:362) > at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:149) > at java.sql.DriverManager.getConnection(DriverManager.java:582) > at java.sql.DriverManager.getConnection(DriverManager.java:207) > at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.failOver_direct(ReplicationRun.java:1286) > at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun.failOver(ReplicationRun.java:1220) > at org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationRun_Local.testReplication_Local(ReplicationRun_Local.java:148) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at junit.framework.TestCase.runTest(TestCase.java:164) > at junit.framework.TestCase.runBare(TestCase.java:130) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:104) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:120) > at junit.framework.TestSuite.runTest(TestSuite.java:230) > at junit.framework.TestSuite.run(TestSuite.java:225) > at junit.framework.TestSuite.runTest(TestSuite.java:230) > at junit.framework.TestSuite.run(TestSuite.java:225) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.extensions.TestSetup.run(TestSetup.java:25) > at junit.framework.TestSuite.runTest(TestSuite.java:230) > at junit.framework.TestSuite.run(TestSuite.java:225) > at junit.framework.TestSuite.runTest(TestSuite.java:230) > at junit.framework.TestSuite.run(TestSuite.java:225) > at junit.textui.TestRunner.doRun(TestRunner.java:121) > at junit.textui.TestRunner.start(TestRunner.java:185) > at junit.textui.TestRunner.main(TestRunner.java:143) > Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XRE07, SQLERRMC: Could not perform operation because the database is not in replication master mode. > at org.apache.derby.client.am.Connection.completeSqlca(Connection.java:2068) > at org.apache.derby.client.net.NetConnectionReply.parseRdbAccessFailed(NetConnectionReply.java:537) > at org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(NetConnectionReply.java:430) > at org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(NetConnectionReply.java:294) > at org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(NetConnectionReply.java:121) > at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(NetConnection.java:831) > at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(NetConnection.java:755) > at org.apache.derby.client.net.NetConnection.flowUSRIDONLconnect(NetConnection.java:588) > at org.apache.derby.client.net.NetConnection.flowConnect(NetConnection.java:395) > at org.apache.derby.client.net.NetConnection.(NetConnection.java:219) > at org.apache.derby.client.net.NetConnection40.(NetConnection40.java:77) > at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(ClientJDBCObjectFactoryImpl40.java:269) > at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:140) > ... 31 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.