Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 49403 invoked from network); 21 Jul 2006 09:25:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Jul 2006 09:25:06 -0000 Received: (qmail 51636 invoked by uid 500); 21 Jul 2006 09:25:06 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 51488 invoked by uid 500); 21 Jul 2006 09:25:05 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 51479 invoked by uid 99); 21 Jul 2006 09:25:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 02:25:05 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=DNS_FROM_RFC_ABUSE,INFO_TLD,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jukka.zitting@gmail.com designates 64.233.182.191 as permitted sender) Received: from [64.233.182.191] (HELO nf-out-0910.google.com) (64.233.182.191) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 02:25:04 -0700 Received: by nf-out-0910.google.com with SMTP id o25so793660nfa for ; Fri, 21 Jul 2006 02:24:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WLih1omEfJyNw/bcf/t8pWDsmfk+Hq9K2rzp8b5dhwu3bw/TAbIXnPeYxTx5uhu0ZsKb5DU+IxAO7EC15HNa14YFtTOfYXga6RkVgAA4ncJLYaCJuqEE/XyUZVV9arllmnLSPAMNUEIAWl5XxnlZp2oslppjH/YrEibJ3dQHIic= Received: by 10.78.140.17 with SMTP id n17mr216905hud; Fri, 21 Jul 2006 02:24:43 -0700 (PDT) Received: by 10.78.34.10 with HTTP; Fri, 21 Jul 2006 02:24:43 -0700 (PDT) Message-ID: <510143ac0607210224i1fd4c053x488915aca479d41e@mail.gmail.com> Date: Fri, 21 Jul 2006 12:24:43 +0300 From: "Jukka Zitting" To: users@jackrabbit.apache.org Subject: Re: JackRabbit - Tomcat two problems In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <510143ac0607171012t550df408w5b29377a72cb4d09@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, On 7/21/06, Milan Trajkovic wrote: > Could you point me to the exact version of java file RepositryImpl, > that is used for 1.0.1 version of core. 839 line in version that I > have is not exactly log.info...statement, > but somewhere outside shutdown method. However, stacktrace shows that > exception is in shutdown, and debugger shows that log variable is > null. It is first statement where NPE could be thrown. The line you're looking for is: log.info("Shutting down repository..."); It seems that Tomcat has already cleared the "private static Logger log" variable when the shutdown() method gets called. This certainly should not happen. Either Tomcat moves too fast or for some reason the shutdown() method gets called too late. BR, Jukka Zitting -- Yukatan - http://yukatan.fi/ - info@yukatan.fi Software craftsmanship, JCR consulting, and Java development