From users-return-2156-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Wed Feb 07 11:20:36 2007 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 8838 invoked from network); 7 Feb 2007 11:20:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2007 11:20:35 -0000 Received: (qmail 68152 invoked by uid 500); 7 Feb 2007 11:20:41 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 68129 invoked by uid 500); 7 Feb 2007 11:20:41 -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 68120 invoked by uid 99); 7 Feb 2007 11:20:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 03:20:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcaju-users@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 03:20:30 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1HEkqI-0005w6-Ie for users@jackrabbit.apache.org; Wed, 07 Feb 2007 12:20:02 +0100 Received: from xdsl-84-44-233-1.netcologne.de ([84.44.233.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Feb 2007 12:20:02 +0100 Received: from kim.altintop by xdsl-84-44-233-1.netcologne.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Feb 2007 12:20:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@jackrabbit.apache.org From: Kim Altintop Subject: EventListener gets empty jcr:data Date: Wed, 7 Feb 2007 11:54:56 +0100 Lines: 17 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: xdsl-84-44-233-1.netcologne.de User-Agent: Unison/1.7.7 Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm trying to implement a simple "Drop Folder" setup where users would connect to one Jackrabbit workspace using (simple) WebDAV, drop files in there, and an EventListener listening for NODE_ADDED events (restricted to "nt:file") would then copy the file(s) to another workspace. As it turned out, the EventListener is able to locate the just-dropped file and read its properties but the jcr:data property is always empty (i.e. contains no data). If I change my listener to implement SynchronousEventListener it works fine. However, from the spec I would expect it to work just the other way round... Am I getting something wrong here? Regards, Kim