Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 19803 invoked from network); 28 Oct 2008 10:41:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2008 10:41:06 -0000 Received: (qmail 85534 invoked by uid 500); 28 Oct 2008 10:41:10 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 85510 invoked by uid 500); 28 Oct 2008 10:41:09 -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 85498 invoked by uid 99); 28 Oct 2008 10:41:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2008 03:41:09 -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, 28 Oct 2008 10:40:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 50DFC234C237 for ; Tue, 28 Oct 2008 03:40:44 -0700 (PDT) Message-ID: <524788168.1225190444330.JavaMail.jira@brutus> Date: Tue, 28 Oct 2008 03:40:44 -0700 (PDT) From: =?utf-8?Q?J=C3=B8rgen_L=C3=B8land_=28JIRA=29?= To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3890) Replication: NPE for startSlave of encrypted database In-Reply-To: <299874288.1222785344259.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3890?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] J=C3=B8rgen L=C3=B8land updated DERBY-3890: --------------------------------- Issue Type: Improvement (was: Bug) Changing to type "improvement" since this fix enables replication of encryp= ted databases. > Replication: NPE for startSlave of encrypted database > ----------------------------------------------------- > > Key: DERBY-3890 > URL: https://issues.apache.org/jira/browse/DERBY-3890 > Project: Derby > Issue Type: Improvement > Components: Replication > Affects Versions: 10.4.1.3, 10.4.2.0 > Reporter: J=C3=B8rgen L=C3=B8land > Assignee: J=C3=B8rgen L=C3=B8land > Priority: Minor > Fix For: 10.5.0.0 > > Attachments: derby-3890-1.diff, derby-3890-1.stat > > > If slave replication mode is started on an encrypted database, derby fail= s with a NPE and then hangs. The reason for the hang is that LogToFile#init= ializeSlaveReplicationMode needs to scan the log to find the end. For encry= pted databases, this scan uses RawStoreFactory#decrypt. At this stage, LTF#= rawStoreFactory variable has not been set.=20 > A solution may be to set this variable in LTF before scanning the log. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.