Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 14130 invoked from network); 5 May 2008 09:27:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 May 2008 09:27:18 -0000 Received: (qmail 94926 invoked by uid 500); 5 May 2008 09:27:18 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 94898 invoked by uid 500); 5 May 2008 09:27:18 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 94887 invoked by uid 99); 5 May 2008 09:27:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2008 02:27:18 -0700 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; Mon, 05 May 2008 09:26:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C4F8F234C11B for ; Mon, 5 May 2008 02:26:55 -0700 (PDT) Message-ID: <1433359724.1209979615805.JavaMail.jira@brutus> Date: Mon, 5 May 2008 02:26:55 -0700 (PDT) From: "Thomas Mueller (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1563) Data Store: UTFDataFormatException when using large minRecordLength In-Reply-To: <73499537.1209540355669.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/JCR-1563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594195#action_12594195 ] Thomas Mueller commented on JCR-1563: ------------------------------------- Well, yes, the correct fix it's non-trivial. That's why I have proposed the simple solution maximumMinRecordLength.txt for 1.4.4. That one is trivial :-) Do you agree now to commit maximumMinRecordLength.txt in 1.4.4? > Data Store: UTFDataFormatException when using large minRecordLength > ------------------------------------------------------------------- > > Key: JCR-1563 > URL: https://issues.apache.org/jira/browse/JCR-1563 > Project: Jackrabbit > Issue Type: Bug > Components: jackrabbit-core > Affects Versions: 1.4 > Reporter: Thomas Mueller > Assignee: Thomas Mueller > Priority: Minor > Fix For: 1.5 > > Attachments: maximumMinRecordLength.txt > > > If using a value larger than 33000 for minRecordLength, and then trying to store a value with 33000 bytes, the following exception is thrown: UTFDataFormatException. The reason is that values are serialized using DataOutputStream.writeUTF. There is size limitation of 65 K when using this method. Small entries are hex encoded, and there is a prefix, so the limitation for minRecordLength should be 32000. > This is a problem for both FileDataStore and DbDataStore. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.