Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 34836 invoked from network); 5 Oct 2007 13:39:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Oct 2007 13:39:42 -0000 Received: (qmail 83780 invoked by uid 500); 5 Oct 2007 13:39:30 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 83750 invoked by uid 500); 5 Oct 2007 13:39:30 -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 83732 invoked by uid 99); 5 Oct 2007 13:39:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2007 06:39:30 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2007 13:39:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DD6E471422B for ; Fri, 5 Oct 2007 06:38:50 -0700 (PDT) Message-ID: <22379413.1191591530904.JavaMail.jira@brutus> Date: Fri, 5 Oct 2007 06:38:50 -0700 (PDT) From: "Martijn Hendriks (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Created: (JCR-1162) Improve logging in NodeTypeRegistry.persistCustomNodeTypeDefs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Improve logging in NodeTypeRegistry.persistCustomNodeTypeDefs ------------------------------------------------------------- Key: JCR-1162 URL: https://issues.apache.org/jira/browse/JCR-1162 Project: Jackrabbit Issue Type: Improvement Reporter: Martijn Hendriks When the closing of out in the finally block of persistCustomNodeTypeDefs throws an IOException this is ignored. At least some logging should take place, because an IOException here might still mean that the custom nodetype definitions were not stored correctly. This is the case, for instance, when a DatabaseFileSystem is used: the call to out.close triggers the SQL statement execution which causes an IOException if it fails. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.