Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 73338 invoked from network); 4 Jan 2006 14:59:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jan 2006 14:59:58 -0000 Received: (qmail 53050 invoked by uid 500); 4 Jan 2006 14:59:57 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 53038 invoked by uid 99); 4 Jan 2006 14:59:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2006 06:59:57 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ixjonez@gmail.com designates 64.233.182.193 as permitted sender) Received: from [64.233.182.193] (HELO nproxy.gmail.com) (64.233.182.193) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2006 06:59:56 -0800 Received: by nproxy.gmail.com with SMTP id n29so1052526nfc for ; Wed, 04 Jan 2006 06:59:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pqELwaLYuNKPZDP5ZWmsNBlpBjogLFBaQEY70y9ag9osN2VMPEz1qVUb4gEnAln+cDzEbidvVQ/OhiFADPBsQwJGpEe6Zm+qYXrLXc19KFBnbRnZz2oVLWdDUBeIYhKKxv8xgZ+nIt2aZasb6MbYgjMolBuG7j8kW36dJD7NxIM= Received: by 10.48.4.9 with SMTP id 9mr653370nfd; Wed, 04 Jan 2006 06:59:35 -0800 (PST) Received: by 10.48.224.5 with HTTP; Wed, 4 Jan 2006 06:59:35 -0800 (PST) Message-ID: <29a761a00601040659o29fc0940jef962aca63ae1aa2@mail.gmail.com> Date: Wed, 4 Jan 2006 09:59:35 -0500 From: Brian Moseley Sender: ixjonez@gmail.com To: jackrabbit-dev@incubator.apache.org Subject: Re: corrupted root node state In-Reply-To: <90a8d1c00601040026y4ed23942w1157130e6db3e18b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <29a761a00601020302q15c6ee39s9252356d05773672@mail.gmail.com> <90a8d1c00601030240n3a1d1041gbd62db83f9a6609c@mail.gmail.com> <29a761a00601030908v5967284ag449f9ddffa7233c3@mail.gmail.com> <90a8d1c00601040026y4ed23942w1157130e6db3e18b@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 1/4/06, Stefan Guggisberg wrote: > i could reproduce the problem easily so i don't need your data anymore, t= hanks. > i'll keep you posted... question - do you have any feeling for what the problem might be? i've spent the last couple of days trying to pin it down and haven't had much luck. i've used ij to examine the node_data value for the root node inside derby, and it doesn't look malformed. i've stepped through with a debugger but been stymied when Serializer descends into DataInputReader (as i don't have the sun jdk sources, don't know if they're available, and couldn't get jswat to decompile rt.jar). my current working hypothesis is that there's a bug in the stream implementation that derby's handing to me via ResultSet.getBinaryStream(). i find those classes extremely confusing tho, so following what's going on inside them is extremely slow going. anyway, every day that i don't get this problem solved is a day our production service is down. so if anybody has ideas of what might be happening, please share - maybe it will be the jolt i need to find the problem and make a fix :) (to summarize the problem - when i add a large number of nodes to the root node, save the session and close the repository, then try to re-open the repository, a premature EOF exception is thrown when deserializing the root node state loaded from the derby PM, specifically when reading the qname of the 1180th child node.)