Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E3F6D98EE for ; Wed, 2 Nov 2011 15:11:56 +0000 (UTC) Received: (qmail 73973 invoked by uid 500); 2 Nov 2011 15:11:53 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 73913 invoked by uid 500); 2 Nov 2011 15:11:53 -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 73827 invoked by uid 99); 2 Nov 2011 15:11:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 15:11:53 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 15:11:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5956E32E95E for ; Wed, 2 Nov 2011 15:11:32 +0000 (UTC) Date: Wed, 2 Nov 2011 15:11:32 +0000 (UTC) From: "Thomas Mueller (Updated) (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <441115758.50650.1320246692367.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1161444633.19905.1318840451799.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (JCR-3116) Cluster Node ID should be trimmed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-3116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Mueller updated JCR-3116: -------------------------------- Fix Version/s: 2.2.10 > Cluster Node ID should be trimmed > --------------------------------- > > Key: JCR-3116 > URL: https://issues.apache.org/jira/browse/JCR-3116 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: clustering, config, jackrabbit-core > Affects Versions: 2.2.9, 2.3.1 > Reporter: Julian Sedding > Assignee: Thomas Mueller > Priority: Trivial > Fix For: 2.2.10, 2.4 > > Attachments: JCR-3116.patch > > > If the cluster node ID is not configured in repository.xml, it is read from the file cluster_node.id instead. In case this file is edited by hand, some editors (e.g. vi) insert a trailing newline character ("\n"). This leads to the cluster node ID to contain a blank character. While I don't expect this to cause any issues, it is inconvenient for debugging and also introduces line-breaks in log files. I suggest to trim the cluster node ID, so only non-blank characters are used. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira