Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 55807 invoked from network); 16 Apr 2010 14:04:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Apr 2010 14:04:00 -0000 Received: (qmail 43515 invoked by uid 500); 16 Apr 2010 14:03:58 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 42660 invoked by uid 500); 16 Apr 2010 14:03:57 -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 42642 invoked by uid 99); 16 Apr 2010 14:03:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Apr 2010 14:03:57 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=AWL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aklimets@day.com designates 207.126.148.87 as permitted sender) Received: from [207.126.148.87] (HELO eu3sys201aog101.obsmtp.com) (207.126.148.87) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 16 Apr 2010 14:03:52 +0000 Received: from source ([209.85.210.196]) by eu3sys201aob101.postini.com ([207.126.154.11]) with SMTP ID DSNKS8huMWrcrzsKtKMXIx+UCDzrxXc6Esnv@postini.com; Fri, 16 Apr 2010 14:03:31 UTC Received: by yxe34 with SMTP id 34so3207305yxe.8 for ; Fri, 16 Apr 2010 07:03:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.37.2 with HTTP; Fri, 16 Apr 2010 07:03:26 -0700 (PDT) In-Reply-To: References: Date: Fri, 16 Apr 2010 16:03:26 +0200 Received: by 10.101.146.6 with SMTP id y6mr3598722ann.32.1271426606923; Fri, 16 Apr 2010 07:03:26 -0700 (PDT) Message-ID: Subject: Re: onEvent() invocation From: Alexander Klimetschek To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Fri, Apr 16, 2010 at 10:24, Ahmed Elshereay wrote: > The problem is that when I add the node, the onEvent() method is invoked > but I am getting the message printed twice and sometimes three times and > even more!! > > Please, can anyone help me to solve this problem? Could you provide the relevant code snippets? Regards, Alex -- Alexander Klimetschek alexander.klimetschek@day.com