Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 19087 invoked from network); 5 May 2008 09:41:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 May 2008 09:41:21 -0000 Received: (qmail 3165 invoked by uid 500); 5 May 2008 09:41:21 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 3137 invoked by uid 500); 5 May 2008 09:41:21 -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 3126 invoked by uid 99); 5 May 2008 09:41:21 -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:41:21 -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:40:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9D5BF234C115 for ; Mon, 5 May 2008 02:40:58 -0700 (PDT) Message-ID: <1000309646.1209980458643.JavaMail.jira@brutus> Date: Mon, 5 May 2008 02:40:58 -0700 (PDT) From: "Jukka Zitting (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=12594198#action_12594198 ] Jukka Zitting commented on JCR-1563: ------------------------------------ I'd rather not muddy the waters by having different fixes in different releases. The issue is documented here and I'm referencing this as a known issue in the 1.4.4 release notes. IMHO we don't need to hand-hold people who can just as well manually avoid configuring too large minRecordLength values until the proper fix gets released. > 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.